diff options
author | Allan McRae <allan@archlinux.org> | 2011-10-07 08:40:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-07 16:21:58 +0200 |
commit | cc13f4753211599f1579a714f41f55a8c5d99081 (patch) | |
tree | d89a3009f1c5bfaac65eaa1d3d5b1f2a40cbd60b /test/util/vercmptest.sh | |
parent | 9168977b3b33e1aa3f9d130bbd82be4536684171 (diff) | |
download | pacman-cc13f4753211599f1579a714f41f55a8c5d99081.tar.gz pacman-cc13f4753211599f1579a714f41f55a8c5d99081.tar.xz |
Format pacsort and vercmp testsuite output
Make the output into a single block and add separators at the end
so that they do not merge into each other.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/util/vercmptest.sh')
-rwxr-xr-x | test/util/vercmptest.sh | 6 |
1 files changed, 4 insertions, 2 deletions
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 |