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/09/18 08:38:43 UTC

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

stas        2003/09/17 23:38:43

  Modified:    t/modules cgiupload.t
  Log:
  use have_lwp() wrapper instead of checking for LWP, to support
  the APACHE_TEST_PRETEND_NO_LWP mode, even though LWP is available.
  
  Revision  Changes    Path
  1.7       +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.6
  retrieving revision 1.7
  diff -u -u -r1.6 -r1.7
  --- cgiupload.t	18 Apr 2003 06:18:58 -0000	1.6
  +++ cgiupload.t	18 Sep 2003 06:38:43 -0000	1.7
  @@ -7,7 +7,7 @@
   use Apache::Build ();
   
   my $build = Apache::Build->build_config;
  -plan tests => 2, have 'LWP',
  +plan tests => 2, have have_lwp(),
       {"MP_COMPAT_1X is disabled" => $build->{MP_COMPAT_1X}};
   
   my $location = "/TestModules__cgiupload";