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 st...@apache.org on 2003/11/22 00:15:46 UTC

cvs commit: modperl-2.0/t/modules cgi.t cgiupload.t include.t

stas        2003/11/21 15:15:46

  Modified:    t/modules cgi.t cgiupload.t include.t
  Log:
  CGI.pm is needed
  
  Revision  Changes    Path
  1.10      +1 -1      modperl-2.0/t/modules/cgi.t
  
  Index: cgi.t
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/modules/cgi.t,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -u -r1.9 -r1.10
  --- cgi.t	18 Sep 2003 06:36:33 -0000	1.9
  +++ cgi.t	21 Nov 2003 23:15:46 -0000	1.10
  @@ -13,7 +13,7 @@
   my $tests = 4;
   $tests += 1 if HAVE_LWP;
   
  -plan tests => $tests, have
  +plan tests => $tests, have have_module('CGI'),
       {"MP_COMPAT_1X is disabled" => $build->{MP_COMPAT_1X}};
   
   my $module = 'TestModules::cgi';
  
  
  
  1.8       +1 -1      modperl-2.0/t/modules/cgiupload.t
  
  Index: cgiupload.t
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/modules/cgiupload.t,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- cgiupload.t	18 Sep 2003 06:38:43 -0000	1.7
  +++ cgiupload.t	21 Nov 2003 23:15:46 -0000	1.8
  @@ -7,7 +7,7 @@
   use Apache::Build ();
   
   my $build = Apache::Build->build_config;
  -plan tests => 2, have have_lwp(),
  +plan tests => 2, have have_lwp(), have_module('CGI'),
       {"MP_COMPAT_1X is disabled" => $build->{MP_COMPAT_1X}};
   
   my $location = "/TestModules__cgiupload";
  
  
  
  1.3       +2 -1      modperl-2.0/t/modules/include.t
  
  Index: include.t
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/modules/include.t,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- include.t	9 Apr 2002 01:00:52 -0000	1.2
  +++ include.t	21 Nov 2003 23:15:46 -0000	1.3
  @@ -13,9 +13,10 @@
       'footer',
   );
   
  -plan tests => 2 + @patterns, ['include'];
  +plan tests => 2 + @patterns, ['include', 'CGI'];
   
   my $location = "/includes/test.shtml";
  +
   
   my($res, $str);