[前][次][番号順一覧][スレッド一覧]

ruby-changes:44711

From: nagachika <ko1@a...>
Date: Tue, 15 Nov 2016 03:10:42 +0900 (JST)
Subject: [ruby-changes:44711] nagachika:r56784 (ruby_2_3): merge revision(s) 56625: [Backport #12936]

nagachika	2016-11-15 03:10:38 +0900 (Tue, 15 Nov 2016)

  New Revision: 56784

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56784

  Log:
    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.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/test/rinda/test_rinda.rb
    branches/ruby_2_3/version.h
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 56783)
+++ ruby_2_3/ChangeLog	(revision 56784)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Nov 15 03:09:39 2016  Shugo Maeda  <shugo@r...>
+
+	* 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 02:49:30 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_eval.c (vm_call0_body): follow the original class, not to
Index: ruby_2_3/test/rinda/test_rinda.rb
===================================================================
--- ruby_2_3/test/rinda/test_rinda.rb	(revision 56783)
+++ ruby_2_3/test/rinda/test_rinda.rb	(revision 56784)
@@ -794,6 +794,8 @@ class TestRingFinger < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/ruby_2_3/test/rinda/test_rinda.rb#L794
     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)
@@ -818,6 +820,8 @@ class TestRingFinger < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/ruby_2_3/test/rinda/test_rinda.rb#L820
     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
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 56783)
+++ ruby_2_3/version.h	(revision 56784)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.2"
 #define RUBY_RELEASE_DATE "2016-11-15"
-#define RUBY_PATCHLEVEL 215
+#define RUBY_PATCHLEVEL 216
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 11

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r56625


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]