Project

General

Profile

[logo] 
 
Home
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  IPC::Locker
  Parallel::Forker
  Voneline
General Info
  Papers

Issue #112

t/02_help.t incompatibility with Pod::Usage 1.30

Added by Wilson Snyder about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
% Done:

0%


Description

This bug was cloned from Perl-RT, rt27139.

Email addresses have have been truncated.

Id:   27139
Status:        resolved
Queue:         IPC-Locker
Severity:    Normal
Broken in:     1.470
Requestors:    rybskej@

Created:    Tue May 15 12:47:11 2007
Last Contact:     Sun Feb 08 09:08:28 2009
Closed:     Sun Feb 08 09:08:28 2009
Updated:     Sun Feb 08 09:08:28 2009 by WSNYDER
Tue May 15 12:47:13 2007 RYBSKEJ - Ticket created
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

Tue May 15 13:23:35 2007 RYBSKEJ - Broken in 1.470 added

Tue May 15 13:23:35 2007 RYBSKEJ - Fixed in 1.470 deleted

Tue May 15 13:33:18 2007 WSNYDER - Correspondence added
I'm using only Pod::Usage 1.3 and its ok. Can you add the below to
20_help.t, I'd like to see what it gets out. Thanks.

===================================================================
--- t/02_help.t (revision 74)
+++ t/02_help.t (working copy)
@@ -17,5 +17,6 @@
print "Doc test of: $exe\n";
ok (-e $exe);
my $help = `$PERL $exe --help 2>&1`;
+ print "HELP: $help\n";
ok ($help =~ /DISTRIBUTION/);
}

Tue May 15 13:33:19 2007 RT_System - Status changed from 'new' to 'open'

Sun Feb 08 09:08:27 2009 WSNYDER - Correspondence added
No response.

Sun Feb 08 09:08:28 2009 WSNYDER - Status changed from 'open' to 'resolved'

Also available in: Atom