mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(quote): Add test for the above fix.
This commit is contained in:
1 parent
388bf87b8d
commit
276ecc89de
1 file changed
+3
@@ -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