* test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
cannot cross between network interfaces on Windows, so skip this test until we find better test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
558edd5192
commit
8cc3fef898
@ -1,3 +1,9 @@
|
||||
Thu Jul 12 10:46:39 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):
|
||||
cannot cross between network interfaces on Windows, so skip this test
|
||||
until we find better test.
|
||||
|
||||
Thu Jul 12 08:48:33 2012 Ryan Davis <ryand-ruby@zenspider.com>
|
||||
|
||||
* lib/minitest/*: Imported minitest 3.2.0 (r7598)
|
||||
|
@ -628,6 +628,7 @@ 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'))
|
||||
@ -640,6 +641,7 @@ 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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user