You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mikolaj Izdebski (JIRA)" <ji...@codehaus.org> on 2014/10/14 07:06:10 UTC
[jira] (MSHARED-365) Test failures related to symlinks
Mikolaj Izdebski created MSHARED-365:
----------------------------------------
Summary: 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
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)