summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fae9d76)
raw | patch | inline | side by side (parent: fae9d76)
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | |
Tue, 27 Mar 2012 06:22:02 +0000 (08:22 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 27 Mar 2012 14:56:57 +0000 (07:56 -0700) |
$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>
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>
t/test-lib.sh | patch | blob | history |
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 30ed4d74bb2851c1b76f343160a0e34758d580f5..b7d7100c4e5c060c1956e5d4f372fa1fa6ee8c85 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
# /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