Merge branch 'zj/mksh-columns-breakage' into lp/diffstat-with-graph
authorJunio C Hamano <gitster@pobox.com>
Fri, 27 Apr 2012 16:28:00 +0000 (09:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Apr 2012 16:28:00 +0000 (09:28 -0700)
By Zbigniew Jędrzejewski-Szmek
* zj/mksh-columns-breakage:
test-lib: skip test with COLUMNS=1 under mksh

t/test-lib.sh
index b7d7100c4e5c060c1956e5d4f372fa1fa6ee8c85..9e2b71132ab7bca267be755999211783c9b77f43 100644 (file)
@@ -615,6 +615,7 @@ case $(uname -s) in
        ;;
 esac
 
+( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
 test -z "$NO_PERL" && test_set_prereq PERL
 test -z "$NO_PYTHON" && test_set_prereq PYTHON
 test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE