summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-10-19 07:30:48 +0000
committerJim Meyering <jim@meyering.net>2005-10-19 07:30:48 +0000
commit276ecc89deaaf3dc9401b650b53b636d28fa7d11 (patch)
tree46d52b87401a99da0c77f02654c80f66983c7336 /tests
parent388bf87b8d65fe27eb5ad688f6e16e2b26afd760 (diff)
downloadcoreutils-276ecc89deaaf3dc9401b650b53b636d28fa7d11.tar.xz
(quote): Add test for the above fix.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/dircolors/simple3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dircolors/simple b/tests/dircolors/simple
index b2a331568..739c751b5 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};