Return-Path: Delivered-To: apmail-httpd-test-cvs-archive@www.apache.org Received: (qmail 49033 invoked from network); 18 Jan 2004 07:21:44 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Jan 2004 07:21:44 -0000 Received: (qmail 2650 invoked by uid 500); 18 Jan 2004 07:21:21 -0000 Delivered-To: apmail-httpd-test-cvs-archive@httpd.apache.org Received: (qmail 2614 invoked by uid 500); 18 Jan 2004 07:21:21 -0000 Mailing-List: contact test-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-cvs@httpd.apache.org Received: (qmail 2600 invoked from network); 18 Jan 2004 07:21:21 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 18 Jan 2004 07:21:21 -0000 Received: (qmail 48986 invoked by uid 1072); 18 Jan 2004 07:21:43 -0000 Date: 18 Jan 2004 07:21:43 -0000 Message-ID: <20040118072143.48985.qmail@minotaur.apache.org> From: stas@apache.org To: httpd-test-cvs@apache.org Subject: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N stas 2004/01/17 23:21:43 Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm Log: restore the call to default_httpd from configure_httpd since when removing it, we have stopped respecting the APACHE env var. Instead remove the call to which('httpd'), which can be a bad guess. And at the same time remove a similar which('apxs') call. Both are now part of the interactive configuration, so they aren't lost Revision Changes Path 1.200 +4 -2 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.199 retrieving revision 1.200 diff -u -u -r1.199 -r1.200 --- TestConfig.pm 18 Jan 2004 03:14:10 -0000 1.199 +++ TestConfig.pm 18 Jan 2004 07:21:43 -0000 1.200 @@ -323,6 +323,8 @@ $vars->{httpd} = $httpd; last; } + + $vars->{httpd} ||= $self->default_httpd; } if ($vars->{httpd}) { @@ -512,7 +514,7 @@ return $build_config->{MP_APXS}; } - $ENV{APXS} || which('apxs'); + $ENV{APXS}; } sub default_httpd { @@ -527,7 +529,7 @@ } } - $ENV{APACHE} || which($vars->{target}); + $ENV{APACHE}; } my $localhost;