From: D. Ben Knoble Date: Mon, 24 Feb 2025 19:26:02 +0000 (-0500) Subject: t/aggregate-results: fix paste(1) invocation X-Git-Tag: v2.49.0-rc1~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce9886320447440ab5dc8011072ecf331fd77c6a;p=thirdparty%2Fgit.git t/aggregate-results: fix paste(1) invocation When running `make test`, when missing prereqs the following is emitted: make aggregate-results usage: paste [-s] [-d delimiters] file ... fixed 1 success 30066 failed 0 broken 218 total 31274 POSIX says that `paste` requires a file operand; stdin was clearly intended by 49da404070 (test-lib: show missing prereq summary, 2021-11-20). Use it. Signed-off-by: D. Ben Knoble Signed-off-by: Junio C Hamano --- diff --git a/t/aggregate-results.sh b/t/aggregate-results.sh index 6e3bcc4aec..6cb0ff11de 100755 --- a/t/aggregate-results.sh +++ b/t/aggregate-results.sh @@ -44,7 +44,7 @@ then tr -s "," "\n" | grep -v '^$' | sort -u | - paste -s -d ' ') + paste -s -d ' ' -) if test -n "$unique_missing_prereq" then printf "\nmissing prereq: $unique_missing_prereq\n\n"