Skip Menu |

This queue is for tickets about the DBM-Deep CPAN distribution.

Report information
The Basics
Id: 29976
Status: resolved
Priority: 0/
Queue: DBM-Deep

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.0006
Fixed in: (no value)



Subject: Failing test due to old Pod::Usage
Test t/44_upgrade_db.t has a conditional skip such that tests are skipped if Pod::Usage is not installed. I have an old Pod::Usage installed and this leads finally to this failure: t/44_upgrade_db......Use of uninitialized value in eval "string" at t/44_upgrade_db.t line 8. Use of uninitialized value in eval "string" at t/44_upgrade_db.t line 9. Can't locate object method "initialize" via package "Pod::Usage" (perhaps you forgot to load "Pod::Usage"?) at /usr/local/perl-5.6.2/lib/5.6.2/Pod/Usage.pm line 531. # Looks like your test died before it could output anything. t/44_upgrade_db...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 222/222 subtests Possible solutions are to tighten the test within 44_upgrade_db.t to check for the minimum version required for the initialize method (1.3 works). Or make that version a prereq (it currently isn't prereq at all). Thanks,
1.0007 makes it a requirement of both utils/upgrade_db.pl and a requirement in t/44_upgrade_db.t