diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | test/rinda/test_rinda.rb | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Tue Nov 15 03:54:14 2016 Shugo Maeda <shugo@ruby-lang.org> + + * test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast, + test_make_socket_ipv6_multicast_hops): skip if IPv6 multicast + address is not available. + Tue Nov 15 03:39:07 2016 NARUSE, Yui <naruse@ruby-lang.org> * lib/net/http.rb (transport_request): other than HTTPContinue diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 0f05abd829..3df4460cb8 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -793,6 +793,8 @@ class TestRingFinger < Test::Unit::TestCase rescue Errno::EINVAL # somehow Debian 6.0.7 needs ifname v6mc = @rf.make_socket("ff02::1%#{ifaddr.name}") + rescue Errno::EADDRNOTAVAIL + return # IPv6 address for multicast not available end assert_equal(1, v6mc.getsockopt(:IPPROTO_IPV6, :IPV6_MULTICAST_LOOP).int) @@ -817,6 +819,8 @@ class TestRingFinger < Test::Unit::TestCase rescue Errno::EINVAL # somehow Debian 6.0.7 needs ifname v6mc = @rf.make_socket("ff02::1%#{ifaddr.name}") + rescue Errno::EADDRNOTAVAIL + return # IPv6 address for multicast not available end assert_equal(2, v6mc.getsockopt(:IPPROTO_IPV6, :IPV6_MULTICAST_HOPS).int) ensure @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.2.6" #define RUBY_RELEASE_DATE "2016-11-15" -#define RUBY_PATCHLEVEL 393 +#define RUBY_PATCHLEVEL 394 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 11 |