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 ge...@apache.org on 2005/03/11 15:50:23 UTC

svn commit: r157087 - in perl/modperl/branches/apache2-rename-unstable/t/modules: cgi.t cgi2.t cgipost.t cgipost2.t cgiupload.t cgiupload2.t include.t

Author: geoff
Date: Fri Mar 11 06:50:20 2005
New Revision: 157087

URL: http://svn.apache.org/viewcvs?view=rev&rev=157087
Log:
make CGI.pm 3.07 required for all CGI.pm-based tests
assuming, for the moment, that 3.07 will work once it
pops up

Modified:
    perl/modperl/branches/apache2-rename-unstable/t/modules/cgi.t
    perl/modperl/branches/apache2-rename-unstable/t/modules/cgi2.t
    perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost.t
    perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost2.t
    perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload.t
    perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload2.t
    perl/modperl/branches/apache2-rename-unstable/t/modules/include.t

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/cgi.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/cgi.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/cgi.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/cgi.t Fri Mar 11 06:50:20 2005
@@ -13,7 +13,7 @@
 my $tests = 4;
 $tests += 1 if HAVE_LWP;
 
-plan tests => $tests, need need_min_module_version('CGI', 2.93),
+plan tests => $tests, need need_min_module_version('CGI', 3.07),
     {"MP_COMPAT_1X is disabled" => $build->{MP_COMPAT_1X}};
 
 my $module = 'TestModules::cgi';

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/cgi2.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/cgi2.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/cgi2.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/cgi2.t Fri Mar 11 06:50:20 2005
@@ -14,7 +14,7 @@
 $tests += 1 if HAVE_LWP;
 
 plan tests => $tests, need
-    need_min_module_version(CGI => 3.01);
+    need_min_module_version(CGI => 3.07);
 
 my $module = 'TestModules::cgi2';
 my $location = '/' . Apache::TestRequest::module2path($module);

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost.t Fri Mar 11 06:50:20 2005
@@ -10,7 +10,7 @@
 
 my @data = (25, 50, 75, 100, 125, 150);
 
-plan tests => scalar(@data), need_min_module_version(CGI => 2.93);
+plan tests => scalar(@data), need_min_module_version(CGI => 3.07);
 
 foreach my $post (@data) {
     my %param = ();

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost2.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost2.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost2.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/cgipost2.t Fri Mar 11 06:50:20 2005
@@ -10,7 +10,7 @@
 
 my @data = (25, 50, 75, 100, 125, 150);
 
-plan tests => scalar(@data), need_min_module_version(CGI => 3.01);
+plan tests => scalar(@data), need_min_module_version(CGI => 3.07);
 
 foreach my $post (@data) {
     my %param = ();

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload.t Fri Mar 11 06:50:20 2005
@@ -9,7 +9,7 @@
 use File::Spec::Functions qw(catfile);
 
 my $build = Apache2::Build->build_config;
-plan tests => 2, need need_lwp(), need need_min_module_version('CGI', 2.93),
+plan tests => 2, need need_lwp(), need need_min_module_version('CGI', 3.07),
     {"MP_COMPAT_1X is disabled" => $build->{MP_COMPAT_1X}};
 
 my $location = "/TestModules__cgiupload";

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload2.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload2.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload2.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/cgiupload2.t Fri Mar 11 06:50:20 2005
@@ -10,7 +10,7 @@
 
 my $build = Apache2::Build->build_config;
 plan tests => 2, need need_lwp(),
-    need_min_module_version(CGI => 3.01);
+    need_min_module_version(CGI => 3.07);
 
 my $location = "/TestModules__cgiupload2";
 

Modified: perl/modperl/branches/apache2-rename-unstable/t/modules/include.t
URL: http://svn.apache.org/viewcvs/perl/modperl/branches/apache2-rename-unstable/t/modules/include.t?view=diff&r1=157086&r2=157087
==============================================================================
--- perl/modperl/branches/apache2-rename-unstable/t/modules/include.t (original)
+++ perl/modperl/branches/apache2-rename-unstable/t/modules/include.t Fri Mar 11 06:50:20 2005
@@ -13,7 +13,8 @@
     'footer',
 );
 
-plan tests => 2 + @patterns, ['include', 'CGI'];
+plan tests => 2 + @patterns, need need_module('include'),
+                                  need_min_module_version(CGI => 3.07);
 
 my $location = "/includes/test.shtml";