Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 36963 invoked from network); 21 Oct 2009 11:49:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 11:49:23 -0000 Received: (qmail 63609 invoked by uid 500); 21 Oct 2009 11:49:22 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63524 invoked by uid 500); 21 Oct 2009 11:49:22 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 63511 invoked by uid 99); 21 Oct 2009 11:49:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 11:49:22 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jorton@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 11:49:20 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9LBmwkC012549; Wed, 21 Oct 2009 07:48:58 -0400 Received: from turnip.manyfish.co.uk (vpn-12-22.rdu.redhat.com [10.11.12.22]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9LBmukV030826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Oct 2009 07:48:58 -0400 Received: from jorton by turnip.manyfish.co.uk with local (Exim 4.69) (envelope-from ) id 1N0ZgW-0001xs-07; Wed, 21 Oct 2009 12:48:56 +0100 Date: Wed, 21 Oct 2009 12:48:55 +0100 From: Joe Orton To: test-dev@perl.apache.org, dev@httpd.apache.org Subject: Re: fixing an httpd test which is confused about which modules are loaded in the test conf Message-ID: <20091021114855.GB5682@redhat.com> Mail-Followup-To: test-dev@perl.apache.org, dev@httpd.apache.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Organization: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in UK and Wales under Company Registration No. 03798903 Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson (USA), Charlie Peters (USA) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 On Fri, Oct 16, 2009 at 03:32:04PM -0400, Jeff Trawick wrote: .. > --- Apache-Test/lib/Apache/TestConfigParse.pm (revision 822728) > +++ Apache-Test/lib/Apache/TestConfigParse.pm (working copy) > @@ -224,15 +224,15 @@ > > $name = $modname_alias{$name} if $modname_alias{$name}; > > - # remember all found modules > - $self->{modules}->{$name} = $file; > - debug "Found: $modname => $name"; > - ... > > So is either of these a reasonable fix? (It doesn't seem right that > info.t has to worry about modules which were found in the > configuration but not loaded, but I don't know what is expected of the > configuration object.) Either seems reasonable to me, though the use of the word "all" in the original comment above might imply the placement of that code is deliberate, so I'd probably go for the info.t patch. Regards, Joe