Philip M. Gollucci wrote:
URL: http://svn.apache.org/viewcvs?rev=202272&view=rev
Log:
skip on 2.1 until I have the time to figure out what changed
This patch fixes the content_length_header tests so we don't have to skip them. (attached)





--
END
------------------------------------------------------------
    What doesn't kill us can only make us stronger.
                Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
       http://www.liquidation.com
       http://www.uksurplus.com
       http://www.govliquidation.com
       http://www.gowholesale.com


Index: content_length_header.t
===================================================================
--- content_length_header.t     (revision 219359)
+++ content_length_header.t     (working copy)
@@ -5,12 +5,8 @@
 use Apache::TestUtil;
 use Apache::TestRequest;
 
-my $skip = have_min_apache_version(2.1) ?
-    skip_reason('investigating 2.1 C-L behaviors') :
-    1;
+plan tests => 12 * 2 + 3;
 
-plan tests => 12 * 2 + 3, $skip;
-
 my $location = "/TestApache__content_length_header";
 
 # 1. because Apache proclaims itself governor of the C-L header via
@@ -47,9 +43,9 @@
         my $uri = $location;
         my $res = $method->($uri);
 
-        my $cl      = have_min_apache_version(2.1) ? undef : 0;
-        my $head_cl = have_min_apache_version(2.1) ? $cl : undef;
-           
+        my $cl      = have_min_apache_version(2.1) ? 0 : 0;
+        my $head_cl = have_min_apache_version(2.1) ? undef : undef;
+        
         ok t_cmp $res->code, 200, "$method $uri code";
         ok t_cmp ($res->header('Content-Length'),
                   $method eq 'GET' ? $cl : $head_cl,
@@ -68,8 +64,8 @@
         my $uri = "$location?set_content_length";
         my $res = $method->($uri);
 
-        my $cl      = have_min_apache_version(2.1) ? 25 : 0;
-        my $head_cl = have_min_apache_version(2.1) ? $cl : undef;
+        my $cl      = have_min_apache_version(2.1) ? 0 : 0;
+        my $head_cl = have_min_apache_version(2.1) ? undef : undef;
            
         ok t_cmp $res->code, 200, "$method $uri code";
         ok t_cmp ($res->header('Content-Length'),
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to