mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
cdf8e464b0
commit
d95fa804bb
1 file changed
+2
-2
@@ -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"}],
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user