From 4b35d2429fbce0ac61def6542b4d055efd150ff2 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 25 May 2010 23:14:06 +0000 Subject: [PATCH] git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@948248 13f79535-47bb-0310-9956-ffa450edef68 --- test/org/apache/catalina/startup/TomcatBaseTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/org/apache/catalina/startup/TomcatBaseTest.java b/test/org/apache/catalina/startup/TomcatBaseTest.java index 82a172349..131562789 100644 --- a/test/org/apache/catalina/startup/TomcatBaseTest.java +++ b/test/org/apache/catalina/startup/TomcatBaseTest.java @@ -100,6 +100,8 @@ public abstract class TomcatBaseTest extends TestCase { fail("Unable to create temporary directory for test"); } + System.setProperty("catalina.base", tempDir.getAbsolutePath()); + File appBase = new File(tempDir, "webapps"); if (!appBase.exists() && !appBase.mkdir()) { fail("Unable to create appBase for test"); -- 2.11.0