]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't fail when run from an environment with SHELL not a Bourne
authorJim Meyering <jim@meyering.net>
Fri, 3 Mar 2006 07:44:02 +0000 (07:44 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 3 Mar 2006 07:44:02 +0000 (07:44 +0000)
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

index b8504d5ffb7ba0f645cd878185780f748c6c32e9..bb6277b1f949337cc835c701aa125e9685157bd1 100755 (executable)
@@ -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"}],
     );