[BUG 283172] fix build on windows in short term
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@545 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
8ae34f3621
commit
b8296674ff
|
@ -124,7 +124,8 @@ public class TestJettyPolicyRuntime extends TestCase
|
||||||
|
|
||||||
public void testPolicyRestrictive() throws Exception
|
public void testPolicyRestrictive() throws Exception
|
||||||
{
|
{
|
||||||
|
if ( !_runningOnWindows ) //temporary, create alternate file to load for windows
|
||||||
|
{
|
||||||
JettyPolicy ap =
|
JettyPolicy ap =
|
||||||
new JettyPolicy( Collections.singleton( getWorkingDirectory() + "/src/test/resources/global-file-read-only-tmp-permission.policy" ), evaluator );
|
new JettyPolicy( Collections.singleton( getWorkingDirectory() + "/src/test/resources/global-file-read-only-tmp-permission.policy" ), evaluator );
|
||||||
|
|
||||||
|
@ -152,6 +153,7 @@ public class TestJettyPolicyRuntime extends TestCase
|
||||||
//ace.printStackTrace();
|
//ace.printStackTrace();
|
||||||
assertTrue( "Exception was thrown", true );
|
assertTrue( "Exception was thrown", true );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue