mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merge revision(s) 54005: [Backport #12150]
* test/socket/test_addrinfo.rb (test_ipv6_address_predicates): IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken on AIX, so skip related tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4606be3fe
commit
429668f7f2
3 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Mar 29 15:58:18 2016 Rei Odaira <Rei.Odaira@gmail.com>
|
||||
|
||||
* test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
|
||||
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken
|
||||
on AIX, so skip related tests.
|
||||
|
||||
Tue Mar 29 15:31:06 2016 Rei Odaira <Rei.Odaira@gmail.com>
|
||||
|
||||
* test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast):
|
||||
|
|
|
@ -544,7 +544,14 @@ class TestSocketAddrinfo < Test::Unit::TestCase
|
|||
# MacOS X returns IPv4 address for ::ffff:1.2.3.4 and ::1.2.3.4.
|
||||
# Solaris returns IPv4 address for ::ffff:1.2.3.4.
|
||||
ai = ipv6(addr)
|
||||
begin
|
||||
assert(ai.ipv4? || ai.send(meth), "ai=#{addr_exp}; ai.ipv4? || .#{meth}")
|
||||
rescue Minitest::Assertion
|
||||
if /aix/ =~ RUBY_PLATFORM
|
||||
skip "Known bug in IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED on AIX"
|
||||
end
|
||||
raise $!
|
||||
end
|
||||
else
|
||||
assert(ipv6(addr).send(meth), "#{addr_exp}.#{meth}")
|
||||
assert_equal(addr, ipv6(addr).ip_address)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define RUBY_VERSION "2.3.0"
|
||||
#define RUBY_RELEASE_DATE "2016-03-29"
|
||||
#define RUBY_PATCHLEVEL 31
|
||||
#define RUBY_PATCHLEVEL 32
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2016
|
||||
#define RUBY_RELEASE_MONTH 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue