You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-cvs@httpd.apache.org by st...@apache.org on 2003/06/07 01:45:03 UTC

cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm

stas        2003/06/06 16:45:03

  Modified:    perl-framework/Apache-Test/lib/Apache TestConfig.pm
  Log:
  fix for the case when $vars->{httpd} is ./httpd (mp1 Apache::test legacy)
  
  Revision  Changes    Path
  1.164     +1 -0      httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
  
  Index: TestConfig.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
  retrieving revision 1.163
  retrieving revision 1.164
  diff -u -r1.163 -r1.164
  --- TestConfig.pm	21 May 2003 04:26:52 -0000	1.163
  +++ TestConfig.pm	6 Jun 2003 23:45:02 -0000	1.164
  @@ -321,6 +321,7 @@
           #handle both $prefix/bin/httpd and $prefix/Apache.exe
           for (1,2) {
               pop @chunks;
  +            last unless @chunks;
               $self->{httpd_basedir} = catfile @chunks;
               last if -d "$self->{httpd_basedir}/bin";
           }