Subject: | Don't localize %ENV |
t/unit_core_setup.t and t/unit_core_setup_stats.t localize %ENV. I
don't know about other platforms, but Windows depends quite heavily on
some environment variables, like 'Path' for loading libraries. Besides,
few will work with a completely empty environment, so it's not really a
good test if Catalyst works on the current system.
With Catalyst-Runtime-5.80007, I get error messages like:
"...site/lib/auto/HTML/Parser/Parser.dll' for module HTML::Parser:
load_file:The referenced assembly is not installed on your system"
Removing the two localizations makes the tests pass for me again.
Test Summary Report
-------------------
t/aggregate/live_engine_request_escaped_path.t (Wstat: 0
Tests: 6 Failed: 0)
TODO passed: 4
Files=112, Tests=2387, 225 wallclock secs ( 0.77 usr + 0.41 sys = 1.17
CPU)
Result: PASS