diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-10 12:37:56 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-10 12:37:56 +0000 |
commit | bfbf9d0956e05fb3b8d1025f21414d6ef7a3693e (patch) | |
tree | b9808d981fdc93d03123918f78c9002b99d49f62 /test | |
parent | ba8a74314e475631f5aa3353933d3b7768f30558 (diff) | |
download | ruby-bfbf9d0956e05fb3b8d1025f21414d6ef7a3693e.tar.gz |
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')
-rw-r--r-- | test/socket/test_socket.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |