Subject: | Errors in tests |
Several of the test scripts have the following shebang line:
#!perl-wT
Which isn't correct: there should be a space between 'perl' and '-wT'.
But that's still a problem for me, because the test scripts that do have
the correct shebang all die, all with errors like this:
t/02alsoworks.............Insecure $ENV{PATH} while running with -T
switch at /usr/lib/perl5/5.6.1/Cwd.pm line 92.
# Looks like you planned 5 tests but only ran 1.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-5
It turns out that this is because I have an old version of Cwd.pm. That
took some time to figure out though. Poking through
http://backpan.cpan.org/modules/by-authors/Ken_Williams/, it looks like
the problem was solved by Cwd version 2.08. So could you put Cwd 2.08
in the Makefile.PL as a PREREQ_PM? Or having a version number for
File::Spec::Functions of 3.00 or greater would pull in a recent Cwd, too .