From a4fc8aee6afcfd3811e2671e8078cddad55de9ff Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 13 Aug 2011 22:27:59 -0400 Subject: [PATCH] Unit Tests - bug.628.t - Quoting problem. To prevent the shell from stripping quotes, the command line must include \" ... \", but in a Perl string, that needs to be \\" ... \\". Silly mistake. --- test/bug.628.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bug.628.t b/test/bug.628.t index 3f84d3d7e..651acc21a 100755 --- a/test/bug.628.t +++ b/test/bug.628.t @@ -43,7 +43,7 @@ if (open my $fh, '>', 'bug.rc') # Bug 628: task wait: with non-standard dateformat bug # Setup: Add a task -qx{../src/task rc:bug.rc add wait:"Wed Jan 01 2020" A buggy task}; +qx{../src/task rc:bug.rc add wait:\\"Wed Jan 01 2020\\" A buggy task}; # Result: Immediately delete the created task my $output = qx{../src/task rc:bug.rc waiting};