mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 12:32:15 +00:00
[JENKINS-69105] UtilTest#createDirectories fails when temporary directory is a symbolic link (#6906)
This commit is contained in:
1 parent
ed24d3f55d
commit
736b9aeaaa
1 file changed
+1
-1
@@ -643,7 +643,7 @@ public class UtilTest {
|
||||
// /a1
|
||||
// /a2 => symlink to a1
|
||||
// /b => symlink to a
|
||||
Path root = tmp.getRoot().toPath();
|
||||
Path root = tmp.getRoot().toPath().toRealPath();
|
||||
Path a = root.resolve("a");
|
||||
Path a1 = a.resolve("a1");
|
||||
Files.createDirectories(a1);
|
||||
|
||||
Reference in new issue
Block a user