larryi 01/05/22 20:28:18
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Log:
Update expected results for couple of "security_chk" tests to correct for
updated Tomcat behavior.
Revision Changes Path
1.31 +5 -7 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.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- test-tomcat.xml 2001/05/17 00:09:06 1.30
+++ test-tomcat.xml 2001/05/23 03:28:13 1.31
@@ -16,7 +16,7 @@
early tests.
-->
- <property name="revision" value="$Revision: 1.30 $" />
+ <property name="revision" value="$Revision: 1.31 $" />
<property name="host" value="127.0.0.1" />
<property name="port" value="8080" />
<property name="outputType" value="text" />
@@ -1194,10 +1194,9 @@
goldenFile="${gdir}/HelloWorld.txt"
/>
- <gtest description="This URL should return HTML, not JSP source"
+ <gtest description="This URL should return 404 Not Found"
request="GET /test/jsp/HelloWorld.js%2570 HTTP/1.0"
- returnCode="${http.protocol} 200"
- goldenFile="${gdir}/HelloWorld.txt"
+ returnCode="${http.protocol} 404"
/>
<gtest description="This URL should return HTML, not JSP source"
request="GET /test/jsp/HelloWorld%2Ejsp HTTP/1.0"
@@ -1205,10 +1204,9 @@
goldenFile="${gdir}/HelloWorld.txt"
/>
- <gtest description="This URL should return HTML, not JSP source"
+ <gtest description="This URL should return 404 Not Found"
request="GET /test/jsp/HelloWorld%252Ejsp HTTP/1.0"
- returnCode="${http.protocol} 200"
- goldenFile="${gdir}/HelloWorld.txt"
+ returnCode="${http.protocol} 404"
/>
</target>