Subject: | render.t messes up @INC |
Environment:
Pod-Simple-3.04
This is perl, v5.6.1 built for PA-RISC2.0
HP-UX hqmnntu1 B.11.00 A 9000/800 891950666 two-user license
First I got
t/render....................................Can't locate
Pod/Simple/TextContent.pm in @INC (@INC contains: blib/arch blib/lib
/opt/perl5//lib/5.6.1/PA-RISC2.0 /opt/perl5//lib/5.6.1
/opt/perl5//lib/site_perl/5.6.1/PA-RISC2.0
/opt/perl5//lib/site_perl/5.6.1 /opt/perl5//lib/site_perl .) at
t/render.t line 12.
BEGIN failed--compilation aborted at t/render.t line 12.
t/render....................................dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-26
Failed 26/26 tests, 0.00% okay
So I tried just forcing @INC to be ../lib,
but then render.t couldn't find strict.pm.
Finally I changed render.t to just plain push @INC,'../lib'
and the test worked for me.