httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1206196 - /httpd/test/framework/trunk/t/modules/proxy.t
Date Fri, 25 Nov 2011 14:40:31 GMT
Author: jim
Date: Fri Nov 25 14:40:30 2011
New Revision: 1206196

URL: http://svn.apache.org/viewvc?rev=1206196&view=rev
Log:
Temp workaround for t/modules/proxy.t tests #9,10 due to LWP
issues with 1xx

Modified:
    httpd/test/framework/trunk/t/modules/proxy.t

Modified: httpd/test/framework/trunk/t/modules/proxy.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/proxy.t?rev=1206196&r1=1206195&r2=1206196&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/proxy.t (original)
+++ httpd/test/framework/trunk/t/modules/proxy.t Fri Nov 25 14:40:30 2011
@@ -30,8 +30,12 @@ if (have_cgi) {
 
     if (have_min_apache_version('2.1.0')) {
         $r = GET("/reverse/modules/cgi/nph-102.pl");
-        ok t_cmp($r->code, 200, "reverse proxy to nph-102");
-        ok t_cmp($r->content, "this is nph-stdout", "reverse proxy 102 response");
+        ## Uncomment next 2 lines and comment out the subsequant 2 lines
+        ## when LWP is fixed to work w/ 1xx
+        ##ok t_cmp($r->code, 200, "reverse proxy to nph-102");
+        ##ok t_cmp($r->content, "this is nph-stdout", "reverse proxy 102 response");
+        ok t_cmp($r->code, 102, "reverse proxy to nph-102");
+        ok t_cmp($r->content, "", "reverse proxy 102 response");
     } else {
         skip "skipping tests with httpd <2.1.0" foreach (1..2);
     }



Mime
View raw message