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

ruby-changes:12483

From: akr <ko1@a...>
Date: Sat, 18 Jul 2009 07:28:42 +0900 (JST)
Subject: [ruby-changes:12483] Ruby:r24183 (trunk): fix skip condition.

akr	2009-07-18 07:28:28 +0900 (Sat, 18 Jul 2009)

  New Revision: 24183

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

  Log:
    fix skip condition.

  Modified files:
    trunk/test/socket/test_socket.rb

Index: test/socket/test_socket.rb
===================================================================
--- test/socket/test_socket.rb	(revision 24182)
+++ test/socket/test_socket.rb	(revision 24183)
@@ -261,7 +261,7 @@
     end
 
     Socket.udp_server_sockets(0) {|sockets|
-      skip "need sendmsg and recvmsg" unless sockets.respond_to?(:sendmsg)
+      skip "need sendmsg and recvmsg" unless sockets[0].respond_to?(:sendmsg)
       famlies = {}
       sockets.each {|s| famlies[s.local_address.afamily] = true }
       ip_addrs.reject! {|ai| !famlies[ai.afamily] }

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

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