summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-05-02 13:51:53 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-02 13:51:53 -0700
commit85dcc3820b6471a9ad367ebc7ede37a8cb0d9fba (patch)
tree34e21522ba0d2782fd2bdb4eea7182e33ad7455b
parentMerge branch 'jk/doc-asciidoc-inline-literal' (diff)
parenttest-lib: skip test with COLUMNS=1 under mksh (diff)
downloadtgif-85dcc3820b6471a9ad367ebc7ede37a8cb0d9fba.tar.xz
Merge branch 'zj/mksh-columns-breakage'
A broken shell may not let us set an environment value to an arbitrary value, interfering with some of the tests. Introduce a test prerequisite so that we can skip some tests on such a platform. By Zbigniew Jędrzejewski-Szmek * zj/mksh-columns-breakage: test-lib: skip test with COLUMNS=1 under mksh
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index b7d7100c4e..9e2b71132a 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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