httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: Apache-Test breakage
Date Wed, 17 Oct 2001 17:07:00 GMT
On Wed, 17 Oct 2001, Stas Bekman wrote:

>>t/TEST -proxy t/foo/bar.t
>>
...
> I see exactly the same behavior with my patch and without, so I guess it
> was broken before.

yup, i already told you the same in private email.  but see the commit
message:

   is not proxying requests:
   t/TEST -proxy

i've not tried your new patch, but yesterday -proxy was not working as it
was without the patch.

and you missed the part of the commit message that complains about this: 
> -    for (@$argv) {
> +    for (@ARGV) {

should use @ARGV as little as possible, if Getopts or whatever needs it, 
that's what this was for:
> -    local *ARGV = $self->{args};

reason is that this:
Apache::TestRun->new->run(@ARGV);

where @ARGV is the args from t/TEST should be able to be called elsewhere
like so:

for (qw(prefork worker)) {
    Apache::TestRun->new->run(-httpd => "$apache2/$_/bin/httpd");
}



Mime
View raw message