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 Tue, 02 Dec 2003 02:10:41 GMT
stas        2003/12/01 18:10:41

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
               perl-framework/Apache-Test Changes
  Log:
  Fix Apache::TestConfigParse to handle quoted Include arguments
  
  Revision  Changes    Path
  1.39      +5 -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.38
  retrieving revision 1.39
  diff -u -u -r1.38 -r1.39
  --- TestConfigParse.pm	26 Nov 2003 01:11:42 -0000	1.38
  +++ TestConfigParse.pm	2 Dec 2003 02:10:41 -0000	1.39
  @@ -57,6 +57,11 @@
                    [ $self->apxs('PREFIX'),
                          'apxs-derived ServerRoot' ]);
   
  +    # remove surrounding quotes if any
  +    # e.g. Include "/tmp/foo.html"
  +    $file =~ s/^\s*["']?//;
  +    $file =~ s/["']?\s*$//;
  +
       if (file_name_is_absolute($file)) {
           debug "$file is already absolute";
           $result = $file;
  
  
  
  1.70      +2 -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.69
  retrieving revision 1.70
  diff -u -u -r1.69 -r1.70
  --- Changes	30 Nov 2003 21:29:49 -0000	1.69
  +++ Changes	2 Dec 2003 02:10:41 -0000	1.70
  @@ -8,6 +8,8 @@
   
   =item 1.07-dev
   
  +Fix Apache::TestConfigParse to handle quoted Include arguments [Stas]
  +
   Fix Apache::TestServer::wait_till_is_up not to bail out if the server
   takes time to start and LWP is not available. [Stas]
   
  
  
  

Mime
View raw message