зеркало из https://github.com/microsoft/git.git
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:
Родитель
fae9d761c7
Коммит
b1d645b58a
|
@ -46,7 +46,7 @@ EDITOR=:
|
|||
# /usr/xpg4/bin/sh and /bin/ksh to bail out. So keep the unsets
|
||||
# deriving from the command substitution clustered with the other
|
||||
# ones.
|
||||
unset VISUAL EMAIL LANGUAGE $(perl -e '
|
||||
unset VISUAL EMAIL LANGUAGE COLUMNS $(perl -e '
|
||||
my @env = keys %ENV;
|
||||
my $ok = join("|", qw(
|
||||
TRACE
|
||||
|
|
Загрузка…
Ссылка в новой задаче