maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MSHARED-290) Test failure on Windows if ln.exe is in the path
Date Fri, 16 Mar 2018 22:40:25 GMT

     [ https://issues.apache.org/jira/browse/MSHARED-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov closed MSHARED-290.
----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> Test failure on Windows if ln.exe is in the path
> ------------------------------------------------
>
>                 Key: MSHARED-290
>                 URL: https://issues.apache.org/jira/browse/MSHARED-290
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: file-management
>    Affects Versions: file-management-3.0.0
>         Environment: Windows 7, Maven 2.2.1 and Maven 3.0.5.
>            Reporter: Dennis Lundberg
>            Priority: Major
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message