From 47711947ddf95032334fbe9dd912cbd8d146e174 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 8 May 2012 23:32:43 +1000 Subject: Scripts testsuite output consistency Signed-off-by: Allan McRae --- test/scripts/human_to_size_test.sh | 4 ++-- test/scripts/parseopts_test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/scripts') 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 } -- cgit v1.2.3-24-g4f1b