diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-09 02:52:27 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-09 02:52:27 +0000 |
commit | 01762af74905ce23be183f2e9494d684ee479ecb (patch) | |
tree | 0caa00e953f94c31c6992003d1cbf98f1b75f692 | |
parent | 67f7e82eed27ed03ecca066af6ef1e7b59347b3f (diff) | |
download | ruby-01762af74905ce23be183f2e9494d684ee479ecb.tar.gz |
* 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
-rw-r--r-- | test/ruby/test_process.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |