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 2009/01/09 01:53:25 UTC

svn commit: r732891 - /perl/modperl/trunk/t/conf/post_config_startup.pl

Author: pgollucci
Date: Thu Jan  8 16:53:25 2009
New Revision: 732891

URL: http://svn.apache.org/viewvc?rev=732891&view=rev
Log:
tests are now in Apache-SizeLimit

Modified:
    perl/modperl/trunk/t/conf/post_config_startup.pl

Modified: perl/modperl/trunk/t/conf/post_config_startup.pl
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/t/conf/post_config_startup.pl?rev=732891&r1=732890&r2=732891&view=diff
==============================================================================
--- perl/modperl/trunk/t/conf/post_config_startup.pl (original)
+++ perl/modperl/trunk/t/conf/post_config_startup.pl Thu Jan  8 16:53:25 2009
@@ -29,8 +29,6 @@
 
 test_apache_resource();
 
-test_apache_size_limit();
-
 test_apache_status();
 
 test_loglevel();
@@ -61,19 +59,6 @@
     require Apache2::Resource;
 }
 
-sub test_apache_size_limit {
-    # would be nice to write a real test, but for now just see that we
-    # can load it for non-threaded mpms on supported platforms
-    require Apache2::MPM;
-    return if Apache2::MPM->is_threaded;
-    eval { require Apache2::SizeLimit };
-    if ($@) {
-        # unsupported platform
-        die $@ unless $@ =~ /Apache2::SizeLimit not implemented on/
-            or $@ =~ /you must install BSD::Resource/;
-    }
-}
-
 sub test_apache_status {
     ### Apache2::Status tests
     require Apache2::Status;