summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-12 01:48:23 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-12 01:48:23 +0000
commit8cc3fef898e7e2edf2554c153318f6cc483a01f2 (patch)
treeac08992464345e2c4484ec98e8d2394bf25ca649 /test/net
parent558edd51921d1c2380a773c8e1785299bcfd9cbd (diff)
* 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
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_http.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 5741d99f28..49ffc5e9ea 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -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'))