index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2011-10-07 16:40:43 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-07 09:21:58 -0500 |
commit | cc13f4753211599f1579a714f41f55a8c5d99081 (patch) | |
tree | d89a3009f1c5bfaac65eaa1d3d5b1f2a40cbd60b /test/util/pacsorttest.sh | |
parent | 9168977b3b33e1aa3f9d130bbd82be4536684171 (diff) |
-rwxr-xr-x | test/util/pacsorttest.sh | 6 |
diff --git a/test/util/pacsorttest.sh b/test/util/pacsorttest.sh index ff82a53f..9d52d694 100755 --- a/test/util/pacsorttest.sh +++ b/test/util/pacsorttest.sh @@ -40,10 +40,11 @@ runtest() { if ! type -p "$bin"; then echo "pacsort binary ($bin) could not be located" + echo exit 1 fi -echo "Beginning pacsort tests" +echo "Running pacsort tests..." # BEGIN TESTS @@ -93,11 +94,12 @@ runtest "$separator" "$separator_reverse" "really long input, sort key, separato #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 |