diff options
author | Jim Meyering <jim@meyering.net> | 2006-03-03 07:44:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-03-03 07:44:02 +0000 |
commit | d95fa804bb98229afde2c3df91e90ad7fd58103a (patch) | |
tree | 6c49b53978ef58ce487e8d2b841ab1d708ab6602 | |
parent | cdf8e464b07ef54545afd149c3efb6ec92fa0666 (diff) | |
download | coreutils-d95fa804bb98229afde2c3df91e90ad7fd58103a.tar.xz |
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.
-rwxr-xr-x | tests/dircolors/simple | 4 |
1 files changed, 2 insertions, 2 deletions
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"}], ); |