summaryrefslogtreecommitdiff
path: root/builtin/column.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-04-27 09:25:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-27 16:26:37 (GMT)
commitb082687cbac951d31bdea346404db5d0b99a0b73 (patch)
treeb2885045c2d2b4e5cd29138d0ade9296217d4670 /builtin/column.c
parentba998d33e22d6fce4445af5834dc227609672501 (diff)
downloadgit-b082687cbac951d31bdea346404db5d0b99a0b73.zip
git-b082687cbac951d31bdea346404db5d0b99a0b73.tar.gz
git-b082687cbac951d31bdea346404db5d0b99a0b73.tar.bz2
test-lib: skip test with COLUMNS=1 under mksh
mksh does not allow $COLUMNS to be set below 12. mksh(1) says that $COLUMNS is "always set, defaults to 80, unless the value as reported by stty(1) is non-zero and sane enough". This applies also to setting it directly for one command: $ COLUMNS=10 python -c 'import os; print os.environ["COLUMNS"]' 98 Add a test prerequisite by checking if we can set COLUMNS=1, to allow us to skip tests that needs it. Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/column.c')
0 files changed, 0 insertions, 0 deletions