httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <>
Subject Re: [PATCH] fix @INC when running all.t
Date Fri, 27 Feb 2004 11:18:29 GMT
On Fri, Feb 27, 2004 at 03:04:20AM -0800, Stas Bekman wrote:
> Joe Orton wrote:
> >It works if you also have Apache-Test installed in the system site_perl
> >directory of course, which I have on most boxes so only just noticed
> >this.  This fixes it for me, OK to checkin?
> Yup. That's one of those remaining places that have relied on the fact that 
> we were running from within t/. It should be fixed in a better way, using a 
> full path, concating the value of $config->vars->{top_dir} and 
> "Apache-Test/lib"
> my $lib = catfile Apache::Test::vars('top_dir'), qw(Apache-Test lib);
> my $cmd = "$^X -Mlib=$lib $file";

Hokay, thanks, committed that.

View raw message