Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

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



Subject: inet6 test doesn't skip enough tests if IPV6 support not available
On a system with no IPV6 support, t/11-inet6 bombs out: t/11-inet6.................1..11 ok 1 - use Net::DNS; # Looks like you planned 11 tests but only ran 10. ok 2 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 3 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 4 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 5 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 6 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 7 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 8 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 9 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support ok 10 # skip Socket6 and or IO::Socket::INET6 not loaded # You will need to install these modules for IPv6 transport support dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 11 Failed 1/11 tests, 90.91% okay (less 9 skipped tests: 1 okay, 9.09%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/11-inet6.t 1 256 11 2 18.18% 11 2 tests and 11 subtests skipped. Failed 1/24 test scripts, 95.83% okay. 1/1007 subtests failed, 99.90% okay. Attached patch seems to fix it.
Subject: perl-Net-DNS-0.56-inet6test.patch
--- Net-DNS-0.56/t/11-inet6.t 2006-02-21 11:31:46.000000000 +0000 +++ Net-DNS-0.56/t/11-inet6.t 2006-02-21 11:32:20.000000000 +0000 @@ -21,7 +21,7 @@ SKIP: { skip "Socket6 and or IO::Socket::INET6 not loaded\n". - "You will need to install these modules for IPv6 transport support", 9 unless $has_inet6; + "You will need to install these modules for IPv6 transport support", 10 unless $has_inet6; diag ""; diag "The libraries needed for IPv6 support have been found\n";
Subject: Re: [rt.cpan.org #17783] inet6 test doesn't skip enough tests if IPV6 support not available
Date: Tue, 21 Feb 2006 12:54:12 +0100
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
On Feb 21, 2006, at 12:45 PM, Guest via RT wrote: (...) Show quoted text
> > SKIP: { skip "Socket6 and or IO::Socket::INET6 not loaded\n". > - "You will need to install these modules for IPv6 transport > support", 9 unless $has_inet6; > + "You will need to install these modules for IPv6 transport > support", 10 unless $has_inet6; > > diag ""; > diag "The libraries needed for IPv6 support have been found\n";
Thanks Paul, Hmmmm... I'm in doubt if I should release this bugfix immediately... I think I should... *sigh* --Olaf ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

On Tue Feb 21 06:55:19 2006, olaf@dacht.net wrote: Show quoted text
> > Hmmmm... I'm in doubt if I should release this bugfix immediately... > I think I should... *sigh*
I'd vote for yes - requires the use of "force" to install via the CPAN shell at the moment due to the test failure. Not tne end of the world, but will probably worry/scare people and generate plenty of duplicate reports of this bug.