index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | test/util/vercmptest.sh | 6 |
diff --git a/test/util/vercmptest.sh b/test/util/vercmptest.sh index 6b4bcbc2..04b841f7 100755 --- a/test/util/vercmptest.sh +++ b/test/util/vercmptest.sh @@ -64,10 +64,11 @@ runtest() { if ! type -p "$bin"; then echo "vercmp binary ($bin) could not be located" + echo exit 1 fi -echo "Beginning vercmp tests" +echo "Running vercmp tests..." # BEGIN TESTS @@ -145,11 +146,12 @@ runtest 1:1.1 1.1 1 #END TESTS -echo if [[ $failure -eq 0 ]]; then echo "All $total tests successful" + echo exit 0 fi echo "$failure of $total tests failed" +echo exit 1 |