Return-Path: Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 57141 invoked by uid 500); 18 Jul 2003 16:58:44 -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 57127 invoked from network); 18 Jul 2003 16:58:44 -0000 Date: Fri, 18 Jul 2003 09:58:53 -0700 Subject: Re: Apache::TestRequest Doc Patch Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: David Wheeler To: test-dev@httpd.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <3F181A36.7030708@stason.org> Message-Id: <1CEA2818-B941-11D7-AEE1-0003931A964A@kineticode.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Friday, July 18, 2003, at 09:03 AM, Stas Bekman wrote: > 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. Yes, I noticed this. . cannot be the serverroot because then, if the module maintainer created conf and htdocs directories, they would be indexed by the CPAN indexer, and that's a bad thing. If they're in t/, the indexer ignores them. But I'm not saying that I want ../t to be the ServerRoot. I'm saying that traditionally, the distribution root was the cwd for the test scripts in t/. Those are two different things, though I can see the convenience of thinking of them the same. At any rate, if t/ remains the default cwd for the test scripts as they are run, that should be documented, as it varies from what the module author usually expects -- including from the behavior of the old Apache::test. Regards, David -- David Wheeler AIM: dwTheory david@kineticode.com ICQ: 15726394 http://kineticode.com/ Yahoo!: dew7e Jabber: Theory@jabber.org Kineticode. Setting knowledge in motion.[sm]