summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-24 11:12:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-24 11:12:10 +0000
commite8e6ecdef014d9c48211b06be288e17148cd438b (patch)
tree555cf75f44ebf7a770e279208ba4ea68483a440e /test/socket
parent1e2374f1e9f1fba9daea7e4c5b26fdc098f05b74 (diff)
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
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_socket.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index c11b909..6ebde85 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -330,6 +330,7 @@ class TestSocket < Test::Unit::TestCase
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