httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-test/perl-framework/t/modules setenvif.t
Date Sat, 20 Oct 2001 01:51:22 GMT
dougm       01/10/19 18:51:22

  Modified:    perl-framework/t/modules setenvif.t
  Log:
  use remote_addr variable rather than hardcoded 127.0.0.1 (fixes win32)
  
  Revision  Changes    Path
  1.5       +4 -2      httpd-test/perl-framework/t/modules/setenvif.t
  
  Index: setenvif.t
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/t/modules/setenvif.t,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- setenvif.t	2001/10/20 01:12:00	1.4
  +++ setenvif.t	2001/10/20 01:51:22	1.5
  @@ -4,6 +4,8 @@
   use Apache::Test;
   use Apache::TestRequest;
   
  +my $vars = Apache::Test::vars();
  +
   ##
   ## mod_setenvif tests
   ##
  @@ -13,12 +15,12 @@
       (
           'Remote_Host' =>
               {
  -                'pass' => '127.0.0.1',
  +                'pass' => $vars->{remote_addr},
                   'fail' => 'some.where.else.com'
               },
           'Remote_Addr' =>
               {
  -                'pass' => '127.0.0.1',
  +                'pass' => $vars->{remote_addr},
                   'fail' => '63.125.18.195'
               },
           'Request_Method' =>
  
  
  

Mime
View raw message