From: Jim Meyering Date: Wed, 19 Oct 2005 07:30:48 +0000 (+0000) Subject: (quote): Add test for the above fix. X-Git-Tag: v5.92~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=276ecc89deaaf3dc9401b650b53b636d28fa7d11;p=thirdparty%2Fcoreutils.git (quote): Add test for the above fix. --- diff --git a/tests/dircolors/simple b/tests/dircolors/simple index b2a3315681..739c751b59 100755 --- a/tests/dircolors/simple +++ b/tests/dircolors/simple @@ -23,6 +23,9 @@ 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"}, + {OUT => "LS_COLORS='ex='\\''echo Hello;\\:'\\'':';\n" + . "export LS_COLORS\n"}], ); my $save_temps = $ENV{DEBUG};