Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2012-05-22 09:31:33 +0000
committerJan Bartel2012-05-22 09:31:33 +0000
commit5420009f0f2bbdb4dcc1cdfe31c29b0a54a6c007 (patch)
treef5270bc8b6c6d19b6755416c63269f47ebc17bec /jetty-policy
parent6f6164862f094721208b8ac301df1801f81e3f30 (diff)
downloadorg.eclipse.jetty.project-5420009f0f2bbdb4dcc1cdfe31c29b0a54a6c007.tar.gz
org.eclipse.jetty.project-5420009f0f2bbdb4dcc1cdfe31c29b0a54a6c007.tar.xz
org.eclipse.jetty.project-5420009f0f2bbdb4dcc1cdfe31c29b0a54a6c007.zip
380222 JettyPolicyRuntimeTest failure
Diffstat (limited to 'jetty-policy')
-rw-r--r--jetty-policy/src/test/java/org/eclipse/jetty/policy/JettyPolicyRuntimeTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/jetty-policy/src/test/java/org/eclipse/jetty/policy/JettyPolicyRuntimeTest.java b/jetty-policy/src/test/java/org/eclipse/jetty/policy/JettyPolicyRuntimeTest.java
index 8c1a2e3d05..d0ff0017a5 100644
--- a/jetty-policy/src/test/java/org/eclipse/jetty/policy/JettyPolicyRuntimeTest.java
+++ b/jetty-policy/src/test/java/org/eclipse/jetty/policy/JettyPolicyRuntimeTest.java
@@ -30,6 +30,7 @@ import java.util.Set;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.toolchain.test.OS;
+import org.eclipse.jetty.util.IO;
import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
@@ -54,6 +55,7 @@ public class JettyPolicyRuntimeTest
{
System.setSecurityManager(null);
Policy.setPolicy(null);
+ IO.delete(new File ("/tmp", "foo"));
}
@Test
@@ -130,6 +132,7 @@ public class JettyPolicyRuntimeTest
assertTrue ( test.canRead() );
File test2 = new File( "/tmp/foo" );
+ test2.mkdirs();
assertTrue ( test2.canRead() );
try

Back to the top