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:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user