summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-05-08 23:32:43 +1000
committerDan McGee <dan@archlinux.org>2012-06-25 23:39:52 -0500
commit47711947ddf95032334fbe9dd912cbd8d146e174 (patch)
treef078f5d7cfad6e0677ad19e80fbe92d51cf4f3c3 /test/scripts
parentb1bb2eaa50e436e2221a1aec9749de58e4234b44 (diff)
downloadpacman-47711947ddf95032334fbe9dd912cbd8d146e174.tar.xz
Scripts testsuite output consistency
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/human_to_size_test.sh4
-rwxr-xr-xtest/scripts/parseopts_test.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/scripts/human_to_size_test.sh b/test/scripts/human_to_size_test.sh
index 1d747946..dbf1997a 100644
--- a/test/scripts/human_to_size_test.sh
+++ b/test/scripts/human_to_size_test.sh
@@ -31,10 +31,10 @@ parse_hts() {
summarize() {
if (( !fail )); then
- printf 'All %s tests successful\n' "$testcount"
+ printf 'All %s tests successful\n\n' "$testcount"
exit 0
else
- printf '%s of %s tests failed\n' "$fail" "$testcount"
+ printf '%s of %s tests failed\n\n' "$fail" "$testcount"
exit 1
fi
}
diff --git a/test/scripts/parseopts_test.sh b/test/scripts/parseopts_test.sh
index b5c07b5d..1693b9f9 100755
--- a/test/scripts/parseopts_test.sh
+++ b/test/scripts/parseopts_test.sh
@@ -48,10 +48,10 @@ test_result() {
summarize() {
if (( !fail )); then
- printf 'All %s tests successful\n' "$testcount"
+ printf 'All %s tests successful\n\n' "$testcount"
exit 0
else
- printf '%s of %s tests failed\n' "$fail" "$testcount"
+ printf '%s of %s tests failed\n\n' "$fail" "$testcount"
exit 1
fi
}