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 2004/01/23 03:36:01 UTC

cvs commit: modperl-2.0/t/response/TestModperl perl_options.pm

stas        2004/01/22 18:36:01

  Modified:    t/modperl perl_options.t
               t/response/TestModperl perl_options.pm
  Log:
  fix the test config to use /TestModperl__perl_options and not
  /TestModperl::perl_options which doesn't work on win32
  
  Revision  Changes    Path
  1.2       +5 -2      modperl-2.0/t/modperl/perl_options.t
  
  Index: perl_options.t
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/modperl/perl_options.t,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- perl_options.t	10 Jan 2004 02:52:20 -0000	1.1
  +++ perl_options.t	23 Jan 2004 02:36:01 -0000	1.2
  @@ -6,8 +6,11 @@
   use Apache::TestRequest;
   
   my $module = "TestModperl::perl_options";
  +my $path = Apache::TestRequest::module2path($module);
  +
   Apache::TestRequest::module($module);
   my $hostport = Apache::TestRequest::hostport(Apache::Test::config());
  -my $location = "http://$hostport/$module";
  +my $location = "http://$hostport/$path";
   
  -print GET_BODY_ASSERT "http://$hostport/$module";
  +t_debug "connecting to $hostport";
  +print GET_BODY_ASSERT $location;
  
  
  
  1.2       +3 -1      modperl-2.0/t/response/TestModperl/perl_options.pm
  
  Index: perl_options.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/response/TestModperl/perl_options.pm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- perl_options.pm	10 Jan 2004 02:52:20 -0000	1.1
  +++ perl_options.pm	23 Jan 2004 02:36:01 -0000	1.2
  @@ -44,17 +44,19 @@
   
   1;
   __DATA__
  +<NoAutoConfig>
   <VirtualHost TestModperl::perl_options>
       PerlOptions -PreConnection -ProcessConnection
       PerlOptions -Autoload -Log -InputFilter -OutputFilter
       PerlOptions +ChildInit +ChildExit
       PerlModule TestModperl::perl_options
       PerlOptions +ParseHeaders
  -    <Location /TestModperl::perl_options>
  +    <Location /TestModperl__perl_options>
           SetHandler modperl
           PerlOptions -GlobalRequest -SetupEnv
           PerlOptions +MergeHandlers
           PerlResponseHandler TestModperl::perl_options
       </Location>
   </VirtualHost>
  +</NoAutoConfig>