test/check.sh: return proper status code on error
This commit is contained in:
parent
189756fce2
commit
4a16c0f042
@ -44,8 +44,10 @@ for file; do
|
||||
case $? in
|
||||
222) status=SKIP ;;
|
||||
0) status=PASS ;;
|
||||
*) status=FAIL ;;
|
||||
*) status=FAIL failed=1 ;;
|
||||
esac
|
||||
|
||||
printf '%s: %s\n' "$file" "$status" >&2
|
||||
done
|
||||
|
||||
[ -z "$failed" ]
|
||||
|
Loading…
Reference in New Issue
Block a user