Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/util/pacsorttest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/pacsorttest.sh')
-rwxr-xr-xtest/util/pacsorttest.sh6
1 files changed, 4 insertions, 2 deletions
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