* test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):

re-enable the tests because now it's OK on windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2012-07-19 04:29:14 +00:00
Родитель 8e66cbccb7
Коммит b72fc09537
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Jul 19 13:28:03 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
re-enable the tests because now it's OK on windows.
Thu Jul 19 13:26:25 2012 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/extconf.rb: now enable IPv6 by default on mswin.

Просмотреть файл

@ -628,7 +628,6 @@ class TestNetHTTPLocalBind < Test::Unit::TestCase
include TestNetHTTPUtils
def test_bind_to_local_host
skip "cannot cross between network interfaces on Windows, so skip this test until we find better test." if /mswin|mingw/ =~ RUBY_PLATFORM
@server.mount_proc('/show_ip') { |req, res| res.body = req.remote_ip }
http = Net::HTTP.new(config('host'), config('port'))
@ -641,7 +640,6 @@ class TestNetHTTPLocalBind < Test::Unit::TestCase
end
def test_bind_to_local_port
skip "cannot cross between network interfaces on Windows, so skip this test until we find better test." if /mswin|mingw/ =~ RUBY_PLATFORM
@server.mount_proc('/show_port') { |req, res| res.body = req.peeraddr[1].to_s }
http = Net::HTTP.new(config('host'), config('port'))