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 pg...@apache.org on 2006/08/23 09:12:54 UTC
svn commit: r433954 - /perl/Apache-SizeLimit/trunk/t/apache2/all.t
Author: pgollucci
Date: Wed Aug 23 00:12:53 2006
New Revision: 433954
URL: http://svn.apache.org/viewvc?rev=433954&view=rev
Log:
client side test for 2.x series
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=433954&r1=433953&r2=433954&view=diff
==============================================================================
--- perl/Apache-SizeLimit/trunk/t/apache2/all.t (original)
+++ perl/Apache-SizeLimit/trunk/t/apache2/all.t Wed Aug 23 00:12:53 2006
@@ -4,7 +4,7 @@
use Config;
use Apache::Test;
-# skip all tests in this directory unless mod_perl is enabled
+# skip all tests in this directory unless mod_perl is enabled for 2.x series
plan tests => 1, \&my_need;
ok 1;
@@ -26,9 +26,10 @@
$ok &= need_module('Win32::API');
}
- $ok &= need_module('mod_perl.c');
+ $ok &= need_min_apache_version("2.0.48");
- $ok &= need_apache(1);
+ eval { require mod_perl2; };
+ $ok &= $mod_perl2::VERSION >= 1.99022 ? 1 : 0; ## 2.0.0-RC5+
$ok &= need_min_module_version('Test::Builder' => '0.18_01');