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/07/22 13:06:18 UTC

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

stas        2003/07/22 04:06:18

  Modified:    perl-framework/Apache-Test/lib/Apache TestRun.pm
  Log:
  now it's possible to move the whole distro to a new dir and there is no
  need to run t/TEST -conf to make it update the new top-dir
  
  Revision  Changes    Path
  1.112     +3 -0      httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm
  
  Index: TestRun.pm
  ===================================================================
  RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- TestRun.pm	22 Jul 2003 11:05:21 -0000	1.111
  +++ TestRun.pm	22 Jul 2003 11:06:18 -0000	1.112
  @@ -568,6 +568,9 @@
   
       $self->{test_config} = $self->new_test_config;
   
  +    # make it easy to move the whole distro
  +    $self->refresh unless -e $self->{test_config}->{vars}->{top_dir};
  +
       $self->warn_core();
   
       $self->{server} = $self->{test_config}->server;