diff options
author | Karel Zak | 2007-01-28 01:24:15 +0100 |
---|---|---|
committer | Karel Zak | 2007-01-28 01:24:15 +0100 |
commit | 5b0d01d619beafb50dfb6b62bdff2dfd364fab8c (patch) | |
tree | 3d18148cc3c584432f079d74c9504878a56114d8 /tests/run.sh | |
parent | raw: add file with udev rule example (diff) | |
download | kernel-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-x | tests/run.sh | 4 |
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 |