nacho 01/01/26 16:59:20
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Log:
* Tests involving welcome.tst were bad , because now the 302
body response is localizd
* Tests involving a Location header were trying
to match up with "localhost" the default it's "127.0.0.1"
when there is no no host header in request
Revision Changes Path
1.8 +9 -5 jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml
Index: test-tomcat.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/tests/webpages/WEB-INF/test-tomcat.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- test-tomcat.xml 2001/01/23 05:08:40 1.7
+++ test-tomcat.xml 2001/01/27 00:59:20 1.8
@@ -16,7 +16,7 @@
early tests.
-->
- <property name="host" value="localhost" />
+ <property name="host" value="127.0.0.1" />
<property name="port" value="8080" />
<property name="outputType" value="text" />
<property name="debug" value="0" />
@@ -85,8 +85,8 @@
<gtest description="Welcome File Test3"
request="GET /test/welcome/ HTTP/1.0"
- returnCode="${http.protocol} 302"
- goldenFile="${gdir}/movedwelcome.txt" />
+ returnCode="${http.protocol} 302" />
+<!-- goldenFile="${gdir}/movedwelcome.txt" />-->
</target>
<target name="file-apache" depends="init,file">
@@ -499,9 +499,13 @@
</target>
<target name="jsp-tomcat" depends="init,jsp">
+
+<!--
+ goldenFile="${gdir}/movedindex.txt"
+-->
<gtest request="GET /test/jsp/ HTTP/1.0"
- goldenFile="${gdir}/movedindex.txt"
- description="Redirects to index.html"
+ returnCode="${http.protocol} 302"
+ description="Redirects to index.html"
/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]