Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-290

Test failure on Windows if ln.exe is in the path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • file-management-3.0.0
    • None
    • file-management
    • None
    • Windows 7, Maven 2.2.1 and Maven 3.0.5.

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dennisl@apache.org Dennis Lundberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: