From 01762af74905ce23be183f2e9494d684ee479ecb Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 9 Sep 2015 02:52:27 +0000 Subject: * test/ruby/test_process.rb (TestProcess#test_popen_exit): platform specific option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/ruby/test_process.rb') diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 5dbac8e8e0..c787e78749 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1718,7 +1718,8 @@ class TestProcess < Test::Unit::TestCase 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 { -- cgit v1.2.3