From 5b0d01d619beafb50dfb6b62bdff2dfd364fab8c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Sun, 28 Jan 2007 01:24:15 +0100 Subject: tests: add return code Signed-off-by: Karel Zak --- tests/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/run.sh') diff --git a/tests/run.sh b/tests/run.sh index feb0089ff..4a475d826 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 -- cgit v1.2.3-55-g7522