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";