Subject: | t/02_help.t incompatibility with Pod::Usage 1.30 |
When attempting to install this module, I got a numbers of error in
t/02_help.t (see below for an example). When tracing down the culprit,
it appears that Pod::Usage 1.30 (at least on cygwin-thread-multi-64int)
was not printing the entire manual with the 'VERBOSE => 2' option specified.
I upgraded to the latest CPAN release, Pod::Usage 1.35, and the problem
was resolved. Since your command line scripts depend on Pod::Usage, I
recommend you require at least version 1.35 of Pod::Usage in your
Makefile.PL so that future users don't run into this issue.
Regards,
Eric Rybski
$ perl -Mlib=blib/lib,blib/arch t/02_help.t
1..12
# Running under perl version 5.008007 for cygwin
# Current time local: Tue May 15 11:58:15 2007
# Current time GMT: Tue May 15 15:58:15 2007
# Using Test.pm version 1.25
Doc test of: script/lockerd
ok 1
not ok 2
# Failed test 2 in t/02_help.t at line 20
# t/02_help.t line 20 is: ok ($help =~ /DISTRIBUTION/);
Doc test of: script/lockersh
ok 3
not ok 4
# Failed test 4 in t/02_help.t at line 20 fail #2
Doc test of: script/pidstat
ok 5
not ok 6
# Failed test 6 in t/02_help.t at line 20 fail #3
Doc test of: script/pidstatd
ok 7
not ok 8
# Failed test 8 in t/02_help.t at line 20 fail #4
Doc test of: script/pidwatch
ok 9
not ok 10
# Failed test 10 in t/02_help.t at line 20 fail #5
Doc test of: script/uriexec
ok 11
not ok 12
# Failed test 12 in t/02_help.t at line 20 fail #6