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.
This commit is contained in:
Jim Meyering committed 2006-03-03 07:44:02 +00:00
1 parent cdf8e464b0
commit d95fa804bb
1 file changed
+2 -2
+2 -2
View File
@@ -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"}],
);