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");
}