Scripts testsuite output consistency
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
b1bb2eaa50
commit
47711947dd
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue