Now return 0 if all tests fail and 1 if any test fail

This commit is contained in:
macbishop 2004-09-26 15:07:06 +00:00
parent 61ddf68d75
commit 660f7e155a

View File

@ -21,3 +21,7 @@ echo " TOTAL: $total"
echo " OK: $suc"
echo "FAILED: $fail"
if [ $fail -ne 0 ]; then
exit 1
fi