I think this falls under NPANDAY-525 - thanks for looking at it. - Brett
On 11/05/2013, at 6:35 AM, David Durham <[email protected]> wrote: > I see a lot a few test failing on unix. > > Failed tests: > testCommandArgWithSpaces[0](npanday.executable.execution.CommandExecutorTest): > (cmd.standardOut == expected). Values: expected = "a b" > > testCommandArgWithSpaces[1](npanday.executable.execution.CommandExecutorTest): > (cmd.standardOut == expected). Values: expected = "a b" > > Tests in error: > > testCommandArgWithEmbeddedSingleQuotes_middle[0](npanday.executable.execution.CommandExecutorTest): > NPANDAY-040-001: Could not execute: Command = /bin/sh -c echo 'a \' b', > Result = 1 > > testCommandArgWithEmbeddedSingleQuotes_middle[1](npanday.executable.execution.CommandExecutorTest): > NPANDAY-040-001: Could not execute: Command = /bin/sh -c echo 'a \' b', > Result = 1 > > > I believe the issue is that you cannot escape a single quote within a > single quoted argument. > > See this document: > > http://www.grymoire.com/Unix/Quote.html#uh-8 > > Are there any tickets for this issue open already or should I create new > one? > > Thanks, > Dave -- Brett Porter [email protected] http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter
