mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Scripts testsuite output consistency
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
b1bb2eaa50
commit
47711947dd
@ -31,10 +31,10 @@ parse_hts() {
|
|||||||
|
|
||||||
summarize() {
|
summarize() {
|
||||||
if (( !fail )); then
|
if (( !fail )); then
|
||||||
printf 'All %s tests successful\n' "$testcount"
|
printf 'All %s tests successful\n\n' "$testcount"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
printf '%s of %s tests failed\n' "$fail" "$testcount"
|
printf '%s of %s tests failed\n\n' "$fail" "$testcount"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -48,10 +48,10 @@ test_result() {
|
|||||||
|
|
||||||
summarize() {
|
summarize() {
|
||||||
if (( !fail )); then
|
if (( !fail )); then
|
||||||
printf 'All %s tests successful\n' "$testcount"
|
printf 'All %s tests successful\n\n' "$testcount"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
printf '%s of %s tests failed\n' "$fail" "$testcount"
|
printf '%s of %s tests failed\n\n' "$fail" "$testcount"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user