Blob Blame History Raw
From e8e6ecdef014d9c48211b06be288e17148cd438b Mon Sep 17 00:00:00 2001
From: akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Sat, 24 May 2014 11:12:10 +0000
Subject: [PATCH] test_udp_server don't test IPv6 link-local addresses.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 test/socket/test_socket.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index c11b90995efc..6ebde857e5d1 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -313,6 +313,7 @@ def test_udp_server
       ip_addrs.reject! {|ai|
         s = famlies[ai.afamily]
         next true unless s
+        next true if ai.ipv6_linklocal? # IPv6 link-local address is too troublesome in this test.
         case RUBY_PLATFORM
         when /linux/
           if ai.ip_address.include?('%') and