You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by au...@apache.org on 2006/08/25 14:00:30 UTC

svn commit: r436773 - /perl/Apache-SizeLimit/trunk/t/apache2/all.t

Author: autarch
Date: Fri Aug 25 05:00:30 2006
New Revision: 436773

URL: http://svn.apache.org/viewvc?rev=436773&view=rev
Log:
This shuts up a warning if mod_perl2 isn't installed at all.

Modified:
    perl/Apache-SizeLimit/trunk/t/apache2/all.t

Modified: perl/Apache-SizeLimit/trunk/t/apache2/all.t
URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/apache2/all.t?rev=436773&r1=436772&r2=436773&view=diff
==============================================================================
--- perl/Apache-SizeLimit/trunk/t/apache2/all.t (original)
+++ perl/Apache-SizeLimit/trunk/t/apache2/all.t Fri Aug 25 05:00:30 2006
@@ -29,7 +29,7 @@
     $ok &= need_min_apache_version("2.0.48");
 
     eval { require mod_perl2; };
-    $ok &= $mod_perl2::VERSION >= 1.99022 ? 1 : 0; ## 2.0.0-RC5+
+    $ok &= $mod_perl2::VERSION && $mod_perl2::VERSION >= 1.99022 ? 1 : 0; ## 2.0.0-RC5+
 
     $ok &= need_min_module_version('Test::Builder' => '0.18_01');