larryi 01/09/22 14:16:28
Modified: src/tests/webpages/WEB-INF test-tomcat.xml
Log:
Add unless="not.standalone" to some tests so they will be skipped when
testing via a web server. We don't need to be testing how they react
to bad requests. In some cases they hang anyway. Ant 1.4 is required
for the tests to actually be skipped.
Revision Changes Path
1.45 +7 -4 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.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- test-tomcat.xml 2001/08/30 20:42:04 1.44
+++ test-tomcat.xml 2001/09/22 21:16:28 1.45
@@ -16,7 +16,7 @@
early tests.
-->
- <property name="revision" value="$Revision: 1.44 $" />
+ <property name="revision" value="$Revision: 1.45 $" />
<property name="host" value="127.0.0.1" />
<property name="port" value="8080" />
<property name="colonPort" value=":${port}" />
@@ -920,7 +920,8 @@
returnCode="${http.protocol} 200"
/>
- <gtest request="GHOST /test/servlet/request.EchoServlet HTTP/1.0"
+ <!-- Don't bother to send bad request to web server -->
+ <gtest request="GHOST /test/servlet/request.EchoServlet HTTP/1.0"
unless="not.standalone"
content="name=lightness of being"
returnCode="${http.protocol} 50"
/>
@@ -955,7 +956,8 @@
returnCode="${http.protocol} 404"
/>
- <gtest description="HTTP0.9 doesn't have a POST method"
+ <!-- This test will cause IIS to hang -->
+ <gtest description="HTTP0.9 doesn't have a POST method"
unless="not.standalone"
request="POST /test/"
content=""
returnCode="${http.protocol} 400"
@@ -994,7 +996,8 @@
returnCode="${http.protocol} 200"
/>
- <gtest request="post /test/servlet/request.EchoServlet HTTP/1.0"
+ <!-- Don't bother to send bad request to web server -->
+ <gtest request="post /test/servlet/request.EchoServlet HTTP/1.0"
unless="not.standalone"
content="name=lightness of being"
returnCode="${http.protocol} 50"
/>