From bfbf9d0956e05fb3b8d1025f21414d6ef7a3693e Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 10 May 2012 12:37:56 +0000 Subject: [PATCH] fix the path of ifconfig. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/socket/test_socket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb index d1f393b5b3..0406e2205b 100644 --- a/test/socket/test_socket.rb +++ b/test/socket/test_socket.rb @@ -334,7 +334,7 @@ class TestSocket < Test::Unit::TestCase end when /darwin/ if ai.ipv6? - ifconfig ||= `ifconfig` + ifconfig ||= `/sbin/ifconfig` next true if ifconfig.scan(/^(\w+):(.*(?:\n\t.*)*)/).find do|ifname, value| value.include?(ai.ip_address) && value.include?('POINTOPOINT') end