We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5a14dd + 390b44e commit c87977aCopy full SHA for c87977a
t/test-lib.sh
@@ -409,6 +409,12 @@ then
409
verbose=t
410
fi
411
412
+# Since bash 5.0, checkwinsize is enabled by default which does
413
+# update the COLUMNS variable every time a non-builtin command
414
+# completes, even for non-interactive shells.
415
+# Disable that since we are aiming for repeatability.
416
+test -n "$BASH_VERSION" && shopt -u checkwinsize 2>/dev/null
417
+
418
# For repeatability, reset the environment to known value.
419
# TERM is sanitized below, after saving color control sequences.
420
LANG=C
0 commit comments