From 276ecc89deaaf3dc9401b650b53b636d28fa7d11 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Oct 2005 07:30:48 +0000 Subject: [PATCH] (quote): Add test for the above fix. --- tests/dircolors/simple | 3 +++ 1 file changed, 3 insertions(+) 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}; -- 2.47.3