From 5b0d01d619beafb50dfb6b62bdff2dfd364fab8c Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Sun, 28 Jan 2007 01:24:15 +0100 Subject: [PATCH] tests: add return code Signed-off-by: Karel Zak --- tests/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5