Works perfectly fine for me. I removed -T added PerlPassEnv PERL5LIB to httpd.conf, changed the apr/pool test to dump @INC, run the tests with:

env PERL5LIB=/tmp t/TEST apr/pool

got /tmp printed out.

but that's different - it's already in your environment, so it's available when the interpreter is started.


try the same without PerlPassEnv, or use PerlSetEnv without using it on the command line and see what happens.

you comment later that you did indeed try this, as did I, and I cannot reproduce your results. here's what I'm doing

 - comment out PerlSwitches -wT from extra.conf.in
 - insert PerlSetEnv PERL5LIB /foo in httpd.conf
 - add @INC dump in t/response/TestAPR/pool.pm

then, if I run

$ t/TEST t/apr/pool.t -v

I get no /foo in my @INC in the error_log


if I run


$ PERL5LIB=/bar t/TEST t/apr/pool.t -v

I get /bar in my @INC in the error_log


if you're seeing something different but following the same steps, then we clearly need some tests to flesh this out, though I'm not sure now how we would undo -T for a single set of tests in the suite.



I don't see that in core. I see some special handling for tainting in the test suite, though. but you could be right.


which core? 1 or 2?

mp1


--Geoff


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to