Commits

Anonymous committed bb8e3ba

Add the patch to fix t/io_multihomed6.t from Paul.

Comments (0)

Files changed (2)

modules/IO-Socket-INET6/ChangeLog

+2010-06-08 Shlomi Fish <shlomif@iglu.org.il>
+	* Applied a patch to fix t/io_multihomed6.t on old Perls / old Linux
+	distributions:
+		- https://rt.cpan.org/Ticket/Display.html?id=58198
+		- Thanks to Paul.
+
 2010-05-29 Shlomi Fish <shlomif@iglu.org.il>
 	* Applied a modified patch to t/io_multihomed6.t to correct the test
 	on Fedora 10 and others:

modules/IO-Socket-INET6/t/io_multihomed6.t

 
 {
     my %resolved_addresses;
+
     my @r = getaddrinfo('localhost',1);
+
+    if (@r < 5) {
+        print "1..0 # SKIP getaddrinfo('localhost',1) failed: $r[0]\n";
+        exit 0;
+    }
+
     while (@r) {
         my @values = splice(@r,0,5);
         my ($fam,$addr) = @values[0,3];