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

ruby-changes:38115

From: usa <ko1@a...>
Date: Thu, 9 Apr 2015 22:47:26 +0900 (JST)
Subject: [ruby-changes:38115] usa:r50196 (trunk): * test/ruby/test_process.rb

usa	2015-04-09 22:47:01 +0900 (Thu, 09 Apr 2015)

  New Revision: 50196

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

  Log:
    * test/ruby/test_process.rb
      (TestProcess#test_execopts_redirect_open_order_{normal,reverse}): ignore tests
      added by r50194 on Windows because ruby cannot pass non-standard fds.

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 50195)
+++ test/ruby/test_process.rb	(revision 50196)
@@ -545,7 +545,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L545
       system RUBY, "-e", "#{minfd}.upto(#{maxfd}) {|fd| IO.new(fd).print fd.to_s }", opts
       minfd.upto(maxfd) {|fd| assert_equal(fd.to_s, File.read("out#{fd}")) }
     }
-  end
+  end unless windows? # passing non-stdio fds is not supported on Windows
 
   def test_execopts_redirect_open_order_reverse
     minfd = 3
@@ -556,7 +556,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L556
       system RUBY, "-e", "#{minfd}.upto(#{maxfd}) {|fd| IO.new(fd).print fd.to_s }", opts
       minfd.upto(maxfd) {|fd| assert_equal(fd.to_s, File.read("out#{fd}")) }
     }
-  end
+  end unless windows? # passing non-stdio fds is not supported on Windows
 
   def test_execopts_redirect_pipe
     with_pipe {|r1, w1|

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

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