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

Test failures related to symlinks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: maven-shared-utils-0.7
    • Fix Version/s: None
    • Component/s: maven-shared-utils
    • Labels:
      None
    • Environment:
      GNU/Linux

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              krosenvold Kristian Rosenvold
              Reporter:
              mizdebsk Mikolaj Izdebski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: