You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2013/07/24 14:21:05 UTC

[jira] (MSHARED-290) Test failure on Windows if ln.exe is in the path

Dennis Lundberg created MSHARED-290:
---------------------------------------

             Summary: Test failure on Windows if ln.exe is in the path
                 Key: MSHARED-290
                 URL: https://jira.codehaus.org/browse/MSHARED-290
             Project: Maven Shared Components
          Issue Type: Bug
          Components: file-management
    Affects Versions: file-management-1.2.2
         Environment: Windows 7, Maven 2.2.1 and Maven 3.0.5.
            Reporter: Dennis Lundberg


I have Git installed on my Windows machine. That includes the ln.exe command line executable. The Git installation adds its bin directory to the path. I imagine the same would be true if you install GnuWin32 CoreUtils, which also includes ln.exe.

The result is the following test failure:

Failed tests:   testIncludesDontFollowSymlinks(org.apache.maven.shared.model.fileset.util.FileSetUtilsTest): expected:<1> but was:<2>

This is because the test code creates links using ln on the command line, and the code to test for symbolic links doesn't work on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira