perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: problems with t/apache/content_length_header skip
Date Wed, 29 Jun 2005 20:57:15 GMT
Stas Bekman wrote:

> Geoff, that recent patch
> http://svn.apache.org/viewcvs.cgi?rev=202272&view=rev
> doesn't seem to be right, as with 2.0.55-dev it gives:
>
> t/apache/content_length_header..........skipped
>         all skipped: no reason given
>
> And I also agree that my $x if $y is a bad idea.
>
How about:
Index: content_length_header.t
===================================================================
--- content_length_header.t     (revision 202420)
+++ content_length_header.t     (working copy)
@@ -5,8 +5,9 @@
 use Apache::TestUtil;
 use Apache::TestRequest;
 
-my $skip = skip_reason('investigating 2.1 C-L behaviors')
-    if have_min_apache_version(2.1);
+my $skip = have_min_apache_version(2.1) ?
+    skip_reason('investigating 2.1 C-L behaviors') :
+    1;
 
 plan tests => 12 * 2 + 3, $skip;
 


-- 
END 
---------------------------------------------------------
    What doesn't kill us can only make us stronger.
               Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message