diff --git a/src/it/MINVOKER-335-symlinks-in-source/setup.groovy b/src/it/MINVOKER-335-symlinks-in-source/selector.groovy similarity index 78% rename from src/it/MINVOKER-335-symlinks-in-source/setup.groovy rename to src/it/MINVOKER-335-symlinks-in-source/selector.groovy index 1d0e0fbb..9afad9aa 100644 --- a/src/it/MINVOKER-335-symlinks-in-source/setup.groovy +++ b/src/it/MINVOKER-335-symlinks-in-source/selector.groovy @@ -28,7 +28,12 @@ def testFile = projectPath.resolve('test.txt') Files.createDirectory(testDir) Files.createFile(testFile) -Files.createSymbolicLink(projectPath.resolve('testDirLink'), Paths.get('testDir')) -Files.createSymbolicLink(projectPath.resolve('testLink.txt'), Paths.get('test.txt')) +// If FS does not support symlinks we should skip test +try { + Files.createSymbolicLink(projectPath.resolve('testDirLink'), Paths.get('testDir')) + Files.createSymbolicLink(projectPath.resolve('testLink.txt'), Paths.get('test.txt')) +} catch (IOException e) { + return false +} -true \ No newline at end of file +return true