httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1232129 - /httpd/test/framework/trunk/t/modules/negotiation.t
Date Mon, 16 Jan 2012 19:50:48 GMT
Author: covener
Date: Mon Jan 16 19:50:48 2012
New Revision: 1232129

URL: http://svn.apache.org/viewvc?rev=1232129&view=rev
Log:
On my AIX system with perl v5.8.8 
... have_module 'negotiation' ..  didn't work
but have_module('negotiation') did.  Also, use need/need_module to
generate a message when the test is skipped.


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

Modified: httpd/test/framework/trunk/t/modules/negotiation.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/negotiation.t?rev=1232129&r1=1232128&r2=1232129&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/negotiation.t (original)
+++ httpd/test/framework/trunk/t/modules/negotiation.t Mon Jan 16 19:50:48 2012
@@ -42,8 +42,8 @@ my ($en, $fr, $de, $fu, $bu) = qw(en fr 
 my @language = ($en, $fr, $de, $fu);
 my $tests = (@language * 3) + (@language * @language * 5) + 7;
 
-plan tests => $tests,
-    have_module 'negotiation' && have_cgi && have_module 'mime';
+plan tests => $tests, need 
+     need_module('negotiation') && need_cgi && need_module('mime');
 
 my $actual;
 



Mime
View raw message