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

ruby-changes:33998

From: akr <ko1@a...>
Date: Sat, 24 May 2014 20:12:15 +0900 (JST)
Subject: [ruby-changes:33998] akr:r46079 (trunk): test_udp_server don't test IPv6 link-local addresses.

akr	2014-05-24 20:12:10 +0900 (Sat, 24 May 2014)

  New Revision: 46079

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46079

  Log:
    test_udp_server don't test IPv6 link-local addresses.

  Modified files:
    trunk/test/socket/test_socket.rb
Index: test/socket/test_socket.rb
===================================================================
--- test/socket/test_socket.rb	(revision 46078)
+++ test/socket/test_socket.rb	(revision 46079)
@@ -330,6 +330,7 @@ class TestSocket < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_socket.rb#L330
       ip_addrs.reject! {|ai|
         s = famlies[ai.afamily]
         next true unless s
+        next true if ai.ipv6_linklocal? # IPv6 link-local address is too troublesome in this test.
         case RUBY_PLATFORM
         when /linux/
           if ai.ip_address.include?('%') and

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

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