]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(quote): Add test for the above fix.
authorJim Meyering <jim@meyering.net>
Wed, 19 Oct 2005 07:30:48 +0000 (07:30 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Oct 2005 07:30:48 +0000 (07:30 +0000)
tests/dircolors/simple

index b2a33156819734ae1b103d220a3bdafc4b59ab16..739c751b5981a727330d4cc831b231a425419f52 100755 (executable)
@@ -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};