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

Reply via email to