logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git
commit: 33683e867a13b0e9d65bf1fb305d766807307ddb
parent 366aa01f25fbd317b189d3a5b5d707f3f0432d89
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 20 Sep 2024 05:08:35 +0200

test-cmd/{tap,split}.sh: unify error message formatting

Diffstat:

Mtest-cmd/split.sh2+-
Mtest-cmd/tap.sh2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test-cmd/split.sh b/test-cmd/split.sh @@ -31,7 +31,7 @@ t_end() if [ $count -ne $plans ] then - printf 'Error: Ran %d instead of the planned %d tests\n' "$count" "$plans" >&2 + printf 'error: Ran %d instead of the planned %d tests\n' "$count" "$plans" >&2 err=1 fi diff --git a/test-cmd/tap.sh b/test-cmd/tap.sh @@ -238,7 +238,7 @@ t_end () { if [ $count -ne $plans ] then - printf 'Error: Ran %d instead of the planned %d tests\n' "$count" "$plans" >&2 + printf 'error: Ran %d instead of the planned %d tests\n' "$count" "$plans" >&2 err=1 fi