Subject: | IRIX 6.5 doesn't do t/16v6only.t |
Couldn't figure out how to get it working, so skipping.
Could have made it a $TODO but the _get_host_service() croaks of getnameinfo() fails.
Patch attached.
Subject: | 0001-IRIX-IPV6_V6ONLY-exists-but-doesn-t-seem-to-be-doing.patch |
From 6a946865028ae2f8bf6967da5601a4a08dcd6110 Mon Sep 17 00:00:00 2001
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 9 Mar 2015 19:13:52 -0400
Subject: [PATCH] IRIX: IPV6_V6ONLY exists, but doesn't seem to be doing much.
(IPv6 seems to be enabled in the system... maybe there's something
special that IRIX needs, but IPV6_V6ONLY or getnameinfo() documentation
don't offer much insight)
---
cpan/IO-Socket-IP/t/16v6only.t | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cpan/IO-Socket-IP/t/16v6only.t b/cpan/IO-Socket-IP/t/16v6only.t
index 8e3ee31..189e56a 100644
--- a/cpan/IO-Socket-IP/t/16v6only.t
+++ b/cpan/IO-Socket-IP/t/16v6only.t
@@ -14,6 +14,10 @@ eval { IO::Socket::IP->new( LocalHost => "::1" ) } or
eval { defined IPV6_V6ONLY } or
plan skip_all => "IPV6_V6ONLY not available";
+if ($^O eq 'irix') {
+ plan skip_all => "$^O: IPV6_V6ONLY exists but getnameinfo() fails with EAI_NONAME - Hostname nor servname provided, or not known";
+}
+
# Don't be locale-sensitive
$! = Errno::ECONNREFUSED;
my $ECONNREFUSED_STR = "$!";
--
2.3.1