summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-26 04:03:26 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-26 04:03:26 +0000
commit24793ac32db538306899aed7ba588b7231f93a95 (patch)
tree4363a3839f5fa5b88452d7d99ebe816d8a982409 /test/socket
parent8432fda6d77c6bfbc6c33a02f88e992a71e07b73 (diff)
Revert "Darwin 12 (OS X Mountain Lion) also has Bug #6692"
This reverts commit r37033. darwin12 seems to use an address started with fe80. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index ac9eabd..659ebab 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -337,7 +337,7 @@ class TestSocket < Test::Unit::TestCase
end
when /darwin/
if !ai.ipv6?
- elsif ai.ipv6_unique_local? && /darwin1[012]\./ =~ RUBY_PLATFORM
+ elsif ai.ipv6_unique_local? && /darwin1[01]\./ =~ RUBY_PLATFORM
next true # iCloud addresses do not work, see Bug #6692
elsif ifr_name = ai.ip_address[/%(.*)/, 1]
# Mac OS X may sets IFDISABLED as FreeBSD does