Return-Path: Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 49804 invoked by uid 500); 18 Jul 2003 16:03:01 -0000 Mailing-List: contact test-dev-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-dev@httpd.apache.org Received: (qmail 49782 invoked from network); 18 Jul 2003 16:03:00 -0000 Message-ID: <3F181A36.7030708@stason.org> Date: Fri, 18 Jul 2003 19:03:02 +0300 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: test-dev@httpd.apache.org Subject: Re: Apache::TestRequest Doc Patch References: <4E1F3CCA-B92B-11D7-AEE1-0003931A964A@kineticode.com> In-Reply-To: <4E1F3CCA-B92B-11D7-AEE1-0003931A964A@kineticode.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >> I thought I've answered this question already: >> http://marc.theaimsgroup.com/?l=apache-test-dev&m=105772914901179&w=2 > > > Right, so you did. I would just argue that it should default to the > distribution root, but I won't push it. I'm adding this to my Makefile.PL: > > use FindBin; > push @ARGV, '-serverroot', $FindBin::Bin; Alternatively you can do this from t/TEST.PL: $Apache::TestConfig::Argv{'-serverroot'} = catdir $FindBin::Bin, ".."; > Most CPAN module maintainers will want to know about this, I expect. > I'll supply a doc patch with this information later today. The main reason that the default docroot is t/ is because things like logs/, conf/, etc are conveniently placed under t/. I'm not quite sure why do you think that most people will want to have the ../t as the serverroot. The only drawback of using t/ is in the need to adjust @INC, to include ../t. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com