httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test Changes
Date Sun, 27 Apr 2003 22:52:28 GMT
stas        2003/04/27 15:52:28

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
               perl-framework/Apache-Test Changes
  Log:
  when inheriting httpd.conf on some platforms SERVER_CONFIG_FILE is an
  absolute path, so try to use that if found.
  
  Revision  Changes    Path
  1.33      +2 -0      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm
  
  Index: TestConfigParse.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- TestConfigParse.pm	23 Apr 2003 02:24:16 -0000	1.32
  +++ TestConfigParse.pm	27 Apr 2003 22:52:28 -0000	1.33
  @@ -225,6 +225,8 @@
               my $default_conf = $self->{httpd_defines}->{SERVER_CONFIG_FILE};
               $default_conf ||= catfile qw(conf httpd.conf);
               $file = catfile $base, $default_conf;
  +            # SERVER_CONFIG_FILE might be an absolute path
  +            $file = $default_conf if !-e $file and -e $default_conf;
           }
       }
   
  
  
  
  1.8       +4 -0      httpd-test/perl-framework/Apache-Test/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Changes,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Changes	24 Apr 2003 02:47:34 -0000	1.7
  +++ Changes	27 Apr 2003 22:52:28 -0000	1.8
  @@ -8,6 +8,10 @@
   
   =item 1.00
   
  +when inheriting httpd.conf on some platforms SERVER_CONFIG_FILE is an
  +absolute path, so try to use that if found. [Haroon Rafique
  +<haroon.rafique@utoronto.ca>]
  +
   new Apache::Test functions: 
   have_min_apache_version - to require a minimal Apache version. 
   have_apache_version     - to require a specific Apache version. 
  
  
  

Mime
View raw message