Hi Norbert, yesterday I ran the whole build locally (Windows) with JDK 5 and everything worked for me.
For the linux case, I guess it's hard to create an directory with an invalid name. In case you don't find an alternative approach, I wouldn't be devastated if we just removed that test case again... ;-) Andreas 2015-01-22 23:47 GMT+01:00 Norbert Wnuk <[email protected]>: > Hi Andreas, > My pull request seems to be unusually problematic ... I was running all > tests on Ubuntu (and Windows too) but apparently assumption that '\0' > cannot be used in directory name on Linux might not be always true: > https://builds.apache.org/job/maven-surefire/1386/ > https://builds.apache.org/job/maven-surefire-mvn-2.2.1/1539/ > > http://stackoverflow.com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-names > Are you able to recreate the behavior? > Not sure how it is related to the fact that I was forced to swap to first > characters in directory name: "?\0InvalidDirectoryName" after last > refactoring (removing nio API) since leading '\0' just after '\' in the > path name started to affect getCanonicalPath on Windows (it was terminating > path name at this position). Need one day more to clarify unit test and > additionally re-run integration test with maven 2.x. > > Regards, > NW > > > On Thu, Jan 22, 2015 at 1:52 AM, Norbert Wnuk <[email protected]> > wrote: > > > Pull request with the fix - > > https://github.com/apache/maven-surefire/pull/82 > > > > NW > > > > On Wed, Jan 21, 2015 at 9:27 PM, Tibor Digana <[email protected]> > > wrote: > > > >> This is a traditional problem with animal-sniffer-maven-plugin. > >> We had the same issue in JUnit project. Alrerady reported in JIRA > >> http://jira.codehaus.org/browse/MANIMALSNIFFER-54 > >> http://jira.codehaus.org/browse/MANIMALSNIFFER-40 > >> I would like to have the check-test goal or a new parameter. > >> It's still assigned to @stephenc. > >> I would appreciate it working and utilized in Maven and JUnit projects. > >> > >> > >> > >> -- > >> View this message in context: > >> > http://maven.40175.n5.nabble.com/Surefire-Plugin-does-not-handle-workingDirectory-in-fork-mode-properly-tp5824054p5824348.html > >> Sent from the Maven Developers mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > >
