From: Richard Hansen Date: Mon, 3 Feb 2025 23:26:52 +0000 (-0500) Subject: tests: prefix every line of diag_ text, not just the first X-Git-Tag: v1.17.90~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1bd394d9e2bfcc41ffda8ea1928af9a0bd073aa;p=thirdparty%2Fautomake.git tests: prefix every line of diag_ text, not just the first * t/ax/tap-function.sh (diag_): Prefix every line of the diagnostic text, not just the first. --- diff --git a/t/ax/tap-functions.sh b/t/ax/tap-functions.sh index 619cad183..29b9a028c 100644 --- a/t/ax/tap-functions.sh +++ b/t/ax/tap-functions.sh @@ -76,7 +76,11 @@ planned_=none diag_ () ( set +x - test $# -eq 0 || echo "$diag_string_ $*" + test $# -eq 0 || while IFS= read -r line; do + echo "$diag_string_ $line" + done <