ruby-changes:23561
From: naruse <ko1@a...>
Date: Thu, 10 May 2012 21:38:08 +0900 (JST)
Subject: [ruby-changes:23561] naruse:r35612 (trunk): fix the path of ifconfig.
naruse 2012-05-10 21:37:56 +0900 (Thu, 10 May 2012) New Revision: 35612 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35612 Log: fix the path of ifconfig. Modified files: trunk/test/socket/test_socket.rb Index: test/socket/test_socket.rb =================================================================== --- test/socket/test_socket.rb (revision 35611) +++ test/socket/test_socket.rb (revision 35612) @@ -334,7 +334,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/