You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2004/02/09 22:45:47 UTC
Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache
TestRun.pm TestSSLCA.pm
stas@apache.org wrote:
> stas 2004/02/09 10:07:49
>
> Modified: perl-framework/Apache-Test/lib/Apache TestRun.pm
> TestSSLCA.pm
> Log:
> more t/ related fixes
> $self->{reconfigure} = $opts{configure} ||
> (grep { $opts{$_}->[0] } qw(preamble postamble)) ||
> (grep { $Apache::TestConfig::Usage{$_} } keys %conf_opts ) ||
> - $self->passenv() || (! -e 'conf/httpd.conf');
> + $self->passenv() || (! -e 't/conf/httpd.conf');
[...]
> - my $file = "conf/$name.cnf";
> + my $file = "t/conf/$name.cnf";
we probably need to add a chdir_top call which used to be chdir_t, so that
'TEST' will work in addition to 't/TEST". chdir_top should make sure we are
outside of '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
Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache
TestRun.pm TestSSLCA.pm
Posted by Stas Bekman <st...@stason.org>.
Stas Bekman wrote:
> stas@apache.org wrote:
>
>> stas 2004/02/09 10:07:49
>>
>> Modified: perl-framework/Apache-Test/lib/Apache TestRun.pm
>> TestSSLCA.pm
>> Log:
>> more t/ related fixes
>
>
>> $self->{reconfigure} = $opts{configure} ||
>> (grep { $opts{$_}->[0] } qw(preamble postamble)) ||
>> (grep { $Apache::TestConfig::Usage{$_} } keys %conf_opts ) ||
>> - $self->passenv() || (! -e 'conf/httpd.conf');
>> + $self->passenv() || (! -e 't/conf/httpd.conf');
>
> [...]
>
>> - my $file = "conf/$name.cnf";
>> + my $file = "t/conf/$name.cnf";
>
>
> we probably need to add a chdir_top call which used to be chdir_t, so
> that 'TEST' will work in addition to 't/TEST". chdir_top should make
> sure we are outside of 't'.
I've added that functionality.
__________________________________________________________________
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