зеркало из https://github.com/github/ruby.git
* 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:
Родитель
8e66cbccb7
Коммит
b72fc09537
|
@ -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'))
|
||||
|
|
Загрузка…
Ссылка в новой задаче