skip symlink test on windows

This commit is contained in:
Greg Wilkins 2016-06-24 13:05:54 +10:00
parent 9d9df416af
commit 0e0fc77771
1 changed files with 4 additions and 0 deletions

View File

@ -590,6 +590,10 @@ public class FileSystemResourceTest
try (Resource base = newResource(dir.toFile()))
{
if (OS.IS_WINDOWS && base instanceof FileResource)
// FileResource doesn't handle symlinks of Windows
return;
Resource resFoo = base.addPath("foo");
Resource resBar = base.addPath("bar");