Skip to content

Commit 49b15b2

Browse files
committed
merge revision(s) 56625: [Backport #12936]
* test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast, test_make_socket_ipv6_multicast_hops): skip if IPv6 multicast address is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 639eff2 commit 49b15b2

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Tue Nov 15 03:09:39 2016 Shugo Maeda <shugo@ruby-lang.org>
2+
3+
* test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast,
4+
test_make_socket_ipv6_multicast_hops): skip if IPv6 multicast
5+
address is not available.
6+
17
Tue Nov 15 02:49:30 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
28

39
* vm_eval.c (vm_call0_body): follow the original class, not to

test/rinda/test_rinda.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,8 @@ def test_make_socket_ipv6_multicast
794794
rescue Errno::EINVAL
795795
# somehow Debian 6.0.7 needs ifname
796796
v6mc = @rf.make_socket("ff02::1%#{ifaddr.name}")
797+
rescue Errno::EADDRNOTAVAIL
798+
return # IPv6 address for multicast not available
797799
end
798800

799801
assert_equal(1, v6mc.getsockopt(:IPPROTO_IPV6, :IPV6_MULTICAST_LOOP).int)
@@ -818,6 +820,8 @@ def test_make_socket_ipv6_multicast_hops
818820
rescue Errno::EINVAL
819821
# somehow Debian 6.0.7 needs ifname
820822
v6mc = @rf.make_socket("ff02::1%#{ifaddr.name}")
823+
rescue Errno::EADDRNOTAVAIL
824+
return # IPv6 address for multicast not available
821825
end
822826
assert_equal(2, v6mc.getsockopt(:IPPROTO_IPV6, :IPV6_MULTICAST_HOPS).int)
823827
ensure

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.3.2"
22
#define RUBY_RELEASE_DATE "2016-11-15"
3-
#define RUBY_PATCHLEVEL 215
3+
#define RUBY_PATCHLEVEL 216
44

55
#define RUBY_RELEASE_YEAR 2016
66
#define RUBY_RELEASE_MONTH 11

0 commit comments

Comments
 (0)