[
https://jira.codehaus.org/browse/MSHARED-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Rosenvold closed MSHARED-365.
--------------------------------------
Resolution: Fixed
Assignee: Kristian Rosenvold
Disabled tests until we can release with assembly-2.5, which will support
symlinks
> Test failures related to symlinks
> ---------------------------------
>
> Key: MSHARED-365
> URL: https://jira.codehaus.org/browse/MSHARED-365
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-shared-utils
> Affects Versions: maven-shared-utils-0.7
> Environment: GNU/Linux
> Reporter: Mikolaj Izdebski
> Assignee: Kristian Rosenvold
>
> There are test failures for symlink-related test cases when building from
> source-release zip. The reason is that
> {{maven-shared-utils-0.7-source-release.zip}} does not contain symbolic
> links, but tests depend on symbolic links being present in sources. There are
> no test failures when building from svn.
> After unpacking source-release zip,
> {{src/test/resources/symlinks/src/symDir}} is a directory, not symlink, so
> {{FileUtilsTest.isASymbolicLink}} obviously fails.
> {{DirectoryScannerTest.followSymlinksFalse}} test fails for simillar reason.
> I recommend creating symlinks during test execution and not packaging them in
> source zip.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)