From: Jim Meyering Date: Fri, 3 Mar 2006 07:44:02 +0000 (+0000) Subject: Don't fail when run from an environment with SHELL not a Bourne X-Git-Tag: v6.0~656 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d95fa804bb98229afde2c3df91e90ad7fd58103a;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/dircolors/simple b/tests/dircolors/simple index b8504d5ffb..bb6277b1f9 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"}], );