Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 3859
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: rt-cpan [...] triv.org
Requestors: rtbugs [...] nissenhut.com
Cc:
AdminCc:

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



Subject: Net-DNS-0.40 fails make test in t/00-version because of incorrect package name
Net-DNS-0.40 fails a make test on a Unix (Solaris 8) machine with perl 5.6.1. The failure occurs in t/00-version. Output shown below. The test fails because the t/00-version script attempts to use the parse_version method via package ExtUtils::MM. This package does not exist. The package name should be just MM. Patch at the end resolves the problem. Thanks for making the software available. Hope this report is useful. David James PERL_DL_NONLAZY=1 /app/perl5/bin/perl -Iblib/arch -Iblib/lib -I/app/perl5/lib/5.6.1/sun4-solaris -I/app/perl5/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00-load.............ok t/00-pod..............skipped all skipped: Test::Pod v0.95 required for testing POD t/00-version..........Can't locate object method "parse_version" via package "ExtUtils::MM" (perhaps you forgot to load "ExtUtils::MM"?) at t/00-version.t line 19. # Looks like your test died before it could output anything. t/00-version..........dubious Test returned status 29 (wstat 7424, 0x1d00) DIED. FAILED tests 1-44 Failed 44/44 tests, 0.00% okay *** Net-DNS-0.40/t/00-version.t~ Wed Aug 27 00:58:10 2003 --- Net-DNS-0.40/t/00-version.t Wed Sep 24 15:37:00 2003 *************** *** 16,22 **** plan tests => scalar @files; foreach my $file (@files) { ! my $version = ExtUtils::MM->parse_version($file); isnt("$file: $version", "$file: undef", "$file has a version"); } --- 16,22 ---- plan tests => scalar @files; foreach my $file (@files) { ! my $version = MM->parse_version($file); isnt("$file: $version", "$file: undef", "$file has a version"); }