[JENKINS-69105] UtilTest#createDirectories fails when temporary directory is a symbolic link (#6906)

This commit is contained in:
Alexander Brandes authored and GitHub committed 2022-07-23 11:06:47 -07:00
1 parent ed24d3f55d
commit 736b9aeaaa
1 file changed
+1 -1
+1 -1
View File
@@ -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);