]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: turn off `set -x' in `diag_'
authorRichard Hansen <rhansen@rhansen.org>
Mon, 3 Feb 2025 23:26:50 +0000 (18:26 -0500)
committerKarl Berry <karl@freefriends.org>
Sun, 23 Feb 2025 01:36:59 +0000 (17:36 -0800)
* t/ax/tap-functions.sh (diag_): Turn off `set -x' to reduce log spam.

t/ax/tap-functions.sh

index 41dd3f4070b7e33f3eda10902537a52aae8d4751..619cad18305fd34cac06b71f325898b4f5554898 100644 (file)
@@ -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_="#"