Darwin 12 (OS X Mountain Lion) also has Bug #6692

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-09-26 01:26:09 +00:00
parent 2301f983d2
commit 6fc41b0291

View File

@ -337,7 +337,7 @@ class TestSocket < Test::Unit::TestCase
end
when /darwin/
if !ai.ipv6?
elsif ai.ipv6_unique_local? && /darwin1[01]\./ =~ RUBY_PLATFORM
elsif ai.ipv6_unique_local? && /darwin1[012]\./ =~ 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