Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 85dcc38

Browse files
committed
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
2 parents d274fc0 + b082687 commit 85dcc38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/test-lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ case $(uname -s) in
615615
;;
616616
esac
617617

618+
( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
618619
test -z "$NO_PERL" && test_set_prereq PERL
619620
test -z "$NO_PYTHON" && test_set_prereq PYTHON
620621
test -n "$USE_LIBPCRE" && test_set_prereq LIBPCRE

0 commit comments

Comments
 (0)