From 1d99f24563c6ef5ae9ba5fceffaec7f4b76af3c8 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 3 Feb 2025 18:26:50 -0500 Subject: [PATCH] tests: turn off `set -x' in `diag_' * t/ax/tap-functions.sh (diag_): Turn off `set -x' to reduce log spam. --- t/ax/tap-functions.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/ax/tap-functions.sh b/t/ax/tap-functions.sh index 41dd3f407..619cad183 100644 --- a/t/ax/tap-functions.sh +++ b/t/ax/tap-functions.sh @@ -74,9 +74,10 @@ planned_=none # done to allow better interplay with TAP drivers that allow such a string # to be configured. diag_ () -{ +( + set +x test $# -eq 0 || echo "$diag_string_ $*" -} +) # Used by the 'diag_' function above. User-overridable. diag_string_="#" -- 2.47.3