summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authorKarel Zak2007-01-28 01:24:15 +0100
committerKarel Zak2007-01-28 01:24:15 +0100
commit5b0d01d619beafb50dfb6b62bdff2dfd364fab8c (patch)
tree3d18148cc3c584432f079d74c9504878a56114d8 /tests/run.sh
parentraw: add file with udev rule example (diff)
downloadkernel-qcow2-util-linux-5b0d01d619beafb50dfb6b62bdff2dfd364fab8c.tar.gz
kernel-qcow2-util-linux-5b0d01d619beafb50dfb6b62bdff2dfd364fab8c.tar.xz
kernel-qcow2-util-linux-5b0d01d619beafb50dfb6b62bdff2dfd364fab8c.zip
tests: add return code
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh4
1 files changed, 3 insertions, 1 deletions
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