Add version check for darwin's bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
505c4eae32
commit
612ff592ff
@ -334,8 +334,8 @@ class TestSocket < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
when /darwin/
|
when /darwin/
|
||||||
if !ai.ipv6?
|
if !ai.ipv6?
|
||||||
elsif ai.ipv6_unique_local?
|
elsif ai.ipv6_unique_local? && /darwin1[01]\./ =~ RUBY_PLATFORM
|
||||||
next true # iCloud addresses do not work, see Bug 6692
|
next true # iCloud addresses do not work, see Bug #6692
|
||||||
elsif ifr_name = ai.ip_address[/%(.*)/, 1]
|
elsif ifr_name = ai.ip_address[/%(.*)/, 1]
|
||||||
# Mac OS X may sets IFDISABLED as FreeBSD does
|
# Mac OS X may sets IFDISABLED as FreeBSD does
|
||||||
ulSIOCGIFFLAGS = 3223349521
|
ulSIOCGIFFLAGS = 3223349521
|
||||||
|
Loading…
x
Reference in New Issue
Block a user