Author: pgollucci
Date: Tue Aug 22 21:33:23 2006
New Revision: 433879

URL: http://svn.apache.org/viewvc?rev=433879&view=rev
Log:
can't directly import t_start_error_log_watch, t_finish_error_log_watch
since they only exist in 1.29+


Modified:
    perl/Apache-SizeLimit/trunk/t/apache/check_n_requests.t
    perl/Apache-SizeLimit/trunk/t/apache/check_n_requests2.t

Modified: perl/Apache-SizeLimit/trunk/t/apache/check_n_requests.t
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/apache/check_n_requests.t?rev=433879&r1=433878&r2=433879&view=diff
==============================================================================
--- perl/Apache-SizeLimit/trunk/t/apache/check_n_requests.t (original)
+++ perl/Apache-SizeLimit/trunk/t/apache/check_n_requests.t Tue Aug 22 21:33:23 
2006
@@ -2,15 +2,15 @@
 use warnings FATAL => 'all';
 
 use Apache::Test;
-use Apache::TestUtil qw(t_start_error_log_watch t_finish_error_log_watch);
 use Apache::TestRequest;
 
 my $module = 'TestApache::check_n_requests';
 my $url    = Apache::TestRequest::module2url($module);
 
 plan tests => 1, need_min_module_version('Apache::Test' => 1.29);
+require Apache::TestUtil;
 
-t_start_error_log_watch();
+Apache::TestUtil::t_start_error_log_watch();
 my $res = GET $url;
-my $c = grep { / Apache::SizeLimit httpd process too big/ } 
t_finish_error_log_watch();
+my $c = grep { / Apache::SizeLimit httpd process too big/ } 
Apache::TestUtil::t_finish_error_log_watch();
 ok $c == 1;

Modified: perl/Apache-SizeLimit/trunk/t/apache/check_n_requests2.t
URL: 
http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/t/apache/check_n_requests2.t?rev=433879&r1=433878&r2=433879&view=diff
==============================================================================
--- perl/Apache-SizeLimit/trunk/t/apache/check_n_requests2.t (original)
+++ perl/Apache-SizeLimit/trunk/t/apache/check_n_requests2.t Tue Aug 22 
21:33:23 2006
@@ -2,15 +2,15 @@
 use warnings FATAL => 'all';
 
 use Apache::Test;
-use Apache::TestUtil qw(t_start_error_log_watch t_finish_error_log_watch);
 use Apache::TestRequest;
 
 my $module = 'TestApache::check_n_requests2';
 my $url    = Apache::TestRequest::module2url($module);
 
 plan tests => 1, need_min_module_version('Apache::Test' => 1.29);
+require Apache::TestUtil;
 
-t_start_error_log_watch();
+Apache::TestUtil::t_start_error_log_watch();
 my $res = GET $url;
-my $c = grep { /Apache::SizeLimit httpd process too big/ } 
t_finish_error_log_watch();
+my $c = grep { /Apache::SizeLimit httpd process too big/ } 
Apache::TestUtil::t_finish_error_log_watch();
 ok $c == 0;


Reply via email to