tests: unset COLUMNS inherited from environment
$COLUMNS must be unset to not interfere with the tests. The tests already ignore the terminal size because output is redirected to a file, but COLUMNS overrides terminal size detection and changes the test output away from the standard 80. Reported-by: Jeff King <peff@peff.net> Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fae9d761c7
commit
b1d645b58a
@ -46,7 +46,7 @@ EDITOR=:
|
|||||||
# /usr/xpg4/bin/sh and /bin/ksh to bail out. So keep the unsets
|
# /usr/xpg4/bin/sh and /bin/ksh to bail out. So keep the unsets
|
||||||
# deriving from the command substitution clustered with the other
|
# deriving from the command substitution clustered with the other
|
||||||
# ones.
|
# ones.
|
||||||
unset VISUAL EMAIL LANGUAGE $(perl -e '
|
unset VISUAL EMAIL LANGUAGE COLUMNS $(perl -e '
|
||||||
my @env = keys %ENV;
|
my @env = keys %ENV;
|
||||||
my $ok = join("|", qw(
|
my $ok = join("|", qw(
|
||||||
TRACE
|
TRACE
|
||||||
|
Loading…
Reference in New Issue
Block a user