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

ruby-changes:39729

From: usa <ko1@a...>
Date: Wed, 9 Sep 2015 11:52:47 +0900 (JST)
Subject: [ruby-changes:39729] usa:r51810 (trunk): * test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specific

usa	2015-09-09 11:52:27 +0900 (Wed, 09 Sep 2015)

  New Revision: 51810

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

  Log:
    * test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specific
      option.

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 51809)
+++ test/ruby/test_process.rb	(revision 51810)
@@ -1718,7 +1718,8 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1718
   def test_popen_exit
     bug11510 = '[ruby-core:70671] [Bug #11510]'
     pid = nil
-    opt = {timeout: 10, pgroup: true, stdout_filter: ->(s) {pid = s}}
+    opt = {timeout: 10, stdout_filter: ->(s) {pid = s}}
+    opt[:pgroup] = true unless windows?
     assert_ruby_status(["-", RUBY], <<-'end;', bug11510, **opt)
       RUBY = ARGV[0]
       th = Thread.start {

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

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