Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 9028 invoked from network); 31 Jan 2004 01:16:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Jan 2004 01:16:40 -0000 Received: (qmail 86783 invoked by uid 500); 31 Jan 2004 01:16:23 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 86735 invoked by uid 500); 31 Jan 2004 01:16:23 -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 86713 invoked from network); 31 Jan 2004 01:16:22 -0000 Received: from unknown (HELO mail.logilune.com) (195.154.174.52) by daedalus.apache.org with SMTP; 31 Jan 2004 01:16:22 -0000 Received: from stason.org (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 6C94278E0C for ; Sat, 31 Jan 2004 02:16:29 +0100 (CET) Message-ID: <401B01EC.3060503@stason.org> Date: Fri, 30 Jan 2004 17:16:28 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: httpd-test-dev list Subject: to httpd-test test writers: an important change in the A-T arch 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 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The last change was: In order to make Apache-Test compatible with the rest of Perl testing frameworks, we no longer chdir into t/, but run from the root of the project (where t/ resides). A test needing to know where it's running from (e.g. to read/write files/dirs on the filesystem), should do that relative to the serverroot, documentroot and other server configuration variables, available via Apache::Test::vars('serverroot'), Apache::Test::vars('documentroot'), etc. I think I've fixed all the httpd-test tests that were affected (tested with 1.3, 2.0 and 2.1). though some tests were failing for me before that change, and a few tests were skipped, so if I've missed some please fix those. Essentially, you should no longer rely on cwd(), but always create/access files relative to the serverroot, documentroot and other similar configuration variables. That's it. Thank you for listening. __________________________________________________________________ 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