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

ruby-changes:37098

From: usa <ko1@a...>
Date: Thu, 8 Jan 2015 15:26:25 +0900 (JST)
Subject: [ruby-changes:37098] usa:r49179 (trunk): * test/test_open3.rb (TestOpen3#test_numeric_file_descriptors): passing FDs

usa	2015-01-08 15:26:11 +0900 (Thu, 08 Jan 2015)

  New Revision: 49179

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

  Log:
    * test/test_open3.rb (TestOpen3#test_numeric_file_descriptors): passing FDs
      bigger than 2 is not supported on Windows.
      fixed test failure introcuded at r49173.

  Modified files:
    trunk/test/test_open3.rb
Index: test/test_open3.rb
===================================================================
--- test/test_open3.rb	(revision 49178)
+++ test/test_open3.rb	(revision 49179)
@@ -81,6 +81,7 @@ class TestOpen3 < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_open3.rb#L81
   end
 
   def test_numeric_file_descriptors
+    skip "passing FDs bigger than 2 is not supported on Windows" if /mswin|mingw/ =~ RUBY_PLATFORM
     with_pipe { |r, w|
       Open3.popen3(RUBY, '-e', 'IO.open(3).puts "foo"', 3 => w) {|i,o,e,t|
         assert_equal("foo\n", r.gets, "[GH-808] [ruby-core:67347] [Bug #10699]")

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

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