On Linux (Ubuntu) it fails to escape all special characters when forking
commands.
----------------------------------------------------------------------------------
Key: SUREFIRE-551
URL: http://jira.codehaus.org/browse/SUREFIRE-551
Project: Maven Surefire
Issue Type: Bug
Components: process forking
Affects Versions: 2.4.2
Environment: Maven version: 2.0.9
Java version: 1.6.0_13
OS name: "linux" version: "2.6.28-11-server" arch: "amd64" Family: "unix"
Reporter: Sean Montgomery
Priority: Blocker
Our project folder name has ()'s in it and this seems to be causing a problem
for surefire as it is not escaping them when forking off.
[INFO] Surefire report directory: /opt/paml/hudson/jobs/Site - XXX
(1234)/workspace/trunk/target/surefire-reports
Forking command line: /bin/sh -c "cd /opt/paml/hudson/jobs/Site\ -\ XXX\
(1234)/workspace/trunk && /usr/lib/jvm/java-6-sun-1.6.0.13/jre/bin/java -jar
/tmp/surefirebooter7806691896360428397.jar /tmp/surefire3396974786525533977tmp
/tmp/surefire4621871739825375135tmp"
/bin/sh: Syntax error: "(" unexpected
[ERROR] There are test failures.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira