928db3
From e8e6ecdef014d9c48211b06be288e17148cd438b Mon Sep 17 00:00:00 2001
928db3
From: akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
928db3
Date: Sat, 24 May 2014 11:12:10 +0000
928db3
Subject: [PATCH] test_udp_server don't test IPv6 link-local addresses.
928db3
928db3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
928db3
---
928db3
 test/socket/test_socket.rb | 1 +
928db3
 1 file changed, 1 insertion(+)
928db3
928db3
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
928db3
index c11b90995efc..6ebde857e5d1 100644
928db3
--- a/test/socket/test_socket.rb
928db3
+++ b/test/socket/test_socket.rb
928db3
@@ -313,6 +313,7 @@ def test_udp_server
928db3
       ip_addrs.reject! {|ai|
928db3
         s = famlies[ai.afamily]
928db3
         next true unless s
928db3
+        next true if ai.ipv6_linklocal? # IPv6 link-local address is too troublesome in this test.
928db3
         case RUBY_PLATFORM
928db3
         when /linux/
928db3
           if ai.ip_address.include?('%') and