You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2012/01/16 20:50:48 UTC

svn commit: r1232129 - /httpd/test/framework/trunk/t/modules/negotiation.t

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;