summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-10 12:37:56 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-10 12:37:56 +0000
commitbfbf9d0956e05fb3b8d1025f21414d6ef7a3693e (patch)
treeb9808d981fdc93d03123918f78c9002b99d49f62 /test/socket
parentba8a74314e475631f5aa3353933d3b7768f30558 (diff)
fix the path of ifconfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index d1f393b..0406e22 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