Skip to content

Commit

Permalink
fix skip condition.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Jul 17, 2009
1 parent 5562327 commit bdfe1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/socket/test_socket.rb
Expand Up @@ -261,7 +261,7 @@ def test_udp_server
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] }
Expand Down

0 comments on commit bdfe1c7

Please sign in to comment.