Code

tests: unset COLUMNS inherited from environment
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 27 Mar 2012 06:22:02 +0000 (08:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Mar 2012 14:56:57 +0000 (07:56 -0700)
commitb1d645b58ac6c96ffdc8d9a01f0b44a10deb43f9
treeb5e78d6f3c6fcc0fd00acf8e588d75b6a3e34dfc
parentfae9d761c78cba1039854b51df6c2f7360e59cba
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>
t/test-lib.sh