
pgollucci at apache
Jan 8, 2009, 4:53 PM
Post #1 of 1
(902 views)
Permalink
|
|
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;
|