1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-16 12:22:01 +02:00

(quote): Add test for the above fix.

This commit is contained in:
Jim Meyering
2005-10-19 07:30:48 +00:00
parent 388bf87b8d
commit 276ecc89de

View File

@@ -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};