[前][次][番号順一覧][スレッド一覧]

ruby-changes:24321

From: usa <ko1@a...>
Date: Thu, 12 Jul 2012 10:48:40 +0900 (JST)
Subject: [ruby-changes:24321] usa:r36372 (trunk): * test/net/http/test_http.rb (TestNetHTTPLocalBind#test_bind_to_local*):

usa	2012-07-12 10:48:23 +0900 (Thu, 12 Jul 2012)

  New Revision: 36372

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36372

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/test/net/http/test_http.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36371)
+++ ChangeLog	(revision 36372)
@@ -1,3 +1,9 @@
+Thu Jul 12 10:46:39 2012  NAKAMURA Usaku  <usa@r...>
+
+	* 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@z...>
 
 	* lib/minitest/*: Imported minitest 3.2.0 (r7598)
Index: test/net/http/test_http.rb
===================================================================
--- test/net/http/test_http.rb	(revision 36371)
+++ test/net/http/test_http.rb	(revision 36372)
@@ -628,6 +628,7 @@
   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 @@
   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'))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]