From d95fa804bb98229afde2c3df91e90ad7fd58103a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 3 Mar 2006 07:44:02 +0000 Subject: Don't fail when run from an environment with SHELL not a Bourne shell, e.g. `env SHELL=/bin/csh make check' would fail this test. Invoke each non-failing test with -b. Reported by Michael Stone. --- tests/dircolors/simple | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/dircolors') diff --git a/tests/dircolors/simple b/tests/dircolors/simple index b8504d5ff..bb6277b1f 100755 --- a/tests/dircolors/simple +++ b/tests/dircolors/simple @@ -23,10 +23,10 @@ my @Tests = ['a', {IN => {k => "exec\n"}}, {ERR => "dircolors: k:1: invalid line; missing second token\n"}, {EXIT => 1}], - ['quote', {IN => "exec 'echo Hello;:'\n"}, + ['quote', '-b', {IN => "exec 'echo Hello;:'\n"}, {OUT => "LS_COLORS='ex='\\''echo Hello;\\:'\\'':';\n" . "export LS_COLORS\n"}], - ['other-wr', {IN => "owt 40;33\n"}, + ['other-wr', '-b', {IN => "owt 40;33\n"}, {OUT => "LS_COLORS='tw=40;33:';\nexport LS_COLORS\n"}], ); -- cgit v1.2.3-54-g00ecf