git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@948248 13f79535-47bb-0310...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 25 May 2010 23:14:06 +0000 (23:14 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 25 May 2010 23:14:06 +0000 (23:14 +0000)
test/org/apache/catalina/startup/TomcatBaseTest.java

index 82a1723..1315627 100644 (file)
@@ -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");