1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 03:54:59 -05:00

Scripts testsuite output consistency

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2012-05-08 23:32:43 +10:00 committed by Dan McGee
parent b1bb2eaa50
commit 47711947dd
2 changed files with 4 additions and 4 deletions

View File

@ -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
}

View File

@ -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
}