Let the output match other tests more closely
This commit is contained in:
parent
df7126897a
commit
44bb8cd586
@ -61,9 +61,7 @@ _clint()
|
|||||||
[ -d "../$subdir" ] || continue
|
[ -d "../$subdir" ] || continue
|
||||||
for filename in $($FIND "../$subdir" -type f -a -name '*.c' | $SORT); do
|
for filename in $($FIND "../$subdir" -type f -a -name '*.c' | $SORT); do
|
||||||
(_clint_file "$filename")
|
(_clint_file "$filename")
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "$PROGNAME: $filename: OK" 1>&2
|
|
||||||
else
|
|
||||||
echo "$PROGNAME: $filename: FAIL" 1>&2
|
echo "$PROGNAME: $filename: FAIL" 1>&2
|
||||||
ret=2
|
ret=2
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user