We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a741ea0 commit be7f699Copy full SHA for be7f699
src/it/MINVOKER-335-symlinks-in-source/setup.groovy src/it/MINVOKER-335-symlinks-in-source/selector.groovy
@@ -28,7 +28,12 @@ def testFile = projectPath.resolve('test.txt')
28
Files.createDirectory(testDir)
29
Files.createFile(testFile)
30
31
-Files.createSymbolicLink(projectPath.resolve('testDirLink'), Paths.get('testDir'))
32
-Files.createSymbolicLink(projectPath.resolve('testLink.txt'), Paths.get('test.txt'))
+// If FS does not support symlinks we should skip test
+try {
33
+ Files.createSymbolicLink(projectPath.resolve('testDirLink'), Paths.get('testDir'))
34
+ Files.createSymbolicLink(projectPath.resolve('testLink.txt'), Paths.get('test.txt'))
35
+} catch (IOException e) {
36
+ return false
37
+}
38
-true
39
+return true
0 commit comments