From: Karel Zak Date: Sun, 28 Jan 2007 00:24:15 +0000 (+0100) Subject: tests: add return code X-Git-Tag: v2.13-rc1~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0d01d619beafb50dfb6b62bdff2dfd364fab8c;p=thirdparty%2Futil-linux.git tests: add return code Signed-off-by: Karel Zak --- diff --git a/tests/run.sh b/tests/run.sh index feb0089ffd..4a475d8265 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