Default appBase change was causing errors. Use the old value for this test case.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 15 Jun 2009 18:55:48 +0000 (18:55 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 15 Jun 2009 18:55:48 +0000 (18:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@784918 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/catalina/startup/TestTomcat.java

index 62f2c49..69ab57e 100644 (file)
@@ -58,6 +58,7 @@ public class TestTomcat extends TestCase {
         tempDir.mkdir();
         
         tomcat = new Tomcat();
+        tomcat.getHost().setAppBase(tempDir.getAbsolutePath());
         tomcat.setBaseDir(tempDir.getAbsolutePath());
           
         // If each test is running on same port - they