diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2021-08-05 14:48:25 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-06 09:59:55 -0700 |
commit | 390b44eb2bca5195d524629bccc98d8bbee74410 (patch) | |
tree | 2bed361b28678b61d35e3e6bbf571e1919688a05 /t/t4013/diff.diff_-r_initial..side | |
parent | test-lib.sh: set COLUMNS=80 for --verbose repeatability (diff) | |
download | tgif-390b44eb2bca5195d524629bccc98d8bbee74410.tar.xz |
test: fix for COLUMNS and bash 5
Since c49a177bec (test-lib.sh: set COLUMNS=80 for --verbose
repeatability, 2021-06-29) multiple tests have been failing when using
bash 5 because checkwinsize is enabled by default, therefore COLUMNS is
reset using TIOCGWINSZ even for non-interactive shells.
It's debatable whether or not bash should even be doing that, but for
now we can avoid this undesirable behavior by disabling this option.
Reported-by: Fabian Stelzer <fabian.stelzer@campoint.net>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
[jc: with SZEDER Gábor's suggestion to do this before setting COLUMNS]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_-r_initial..side')
0 files changed, 0 insertions, 0 deletions