From: Karel Zak Date: Sun, 28 Jan 2007 00:24:15 +0000 (+0100) Subject: tests: add return code X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0d01d619beafb50dfb6b62bdff2dfd364fab8c;p=util-linux tests: add return code Signed-off-by: Karel Zak --- diff --git a/tests/run.sh b/tests/run.sh index feb0089f..4a475d82 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -20,8 +20,10 @@ echo echo "---------------------------------------------------------------------" if [ $res -eq 0 ]; then echo " All $count tests PASSED" + res=0 else echo " $res tests of $count FAILED" + res=1 fi echo "---------------------------------------------------------------------" - +exit $res