is it still the problem with leading / in the path? Can you please submit this issue as a separate thread?
Sorry - I must have confused you there. I was reporting the fact that the new APACHE_TEST_PRETEND_NO_LWP option is indeed working, which I established by running the test suite with the *old* (broken) cookie tests in place. (They should, and do, break when we pretend not to have LWP, even though LWP is really installed.)
All is well when running with the *new* (fixed) cookie tests, whether we pretend not to have LWP or not.
ok, the cookie tests issue is now officially closed on win32 ;) (I do have problems with the cookie test on linux but for a totally different reason, will take care of it soonish).
Unfortunately that crash actually takes the Apache server down causing all subsequent tests to fail (I generally just stop the testsuite there). How do I have "nmake test" skip one test script so that I can see what the rest do without having to run each one manually?
http://perl.apache.org/docs/general/testing/testing.html#Skipping_Numerous_Tests
or you can change the test to skip, by changing its plan to 'plan => tests, 0;'
http://perl.apache.org/docs/general/testing/testing.html#Skipping_a_Whole_Test
probably the former is a better approach.
Groovy. I've added a SKIP file containing initially just "filter" and this enables me to get further. Sadly there are further failures:
hooks/stacked_handlers2.t modules/include.t
I'll report these in separate threads.
BTW, The SKIP file is not as easy to use on Win32 as it could be. I find that if I put in a line like "hooks/stacked_handlers2" then the test is *not* skipped. Neither is it skipped if I write "hooks\stacked_handlers2". It turns out that I have to write "hooks\\stacked_handlers2". Yuck!
I only realised this when I added "modules\include" and got this error:
===
Unrecognized escape \i passed through in regex; marked by <-- HERE in m/(?:modul
es\i <-- HERE nclude)/ at C:\Temp\modperl-2.0\Apache-Test\lib/Apache/TestHarness
.pm line 138.
===
(Writing "hooks\stacked_handlers2" doesn't trigger this error because \s is recognised!)
I can hack TestHarness.pm so that it works OK for me on Win32, but doing it so that it works portably on any OS it rather trickier. I haven't got time for it now.
Actually I believe it should be trivial to make it portable. Just use File::Spec tools to split the path into its componenent and then construct it back? Probably Doug was using that feature on unix and didn't test on win32 ;)
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
