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 | bc7bdea2f18061d270e1c1ba890a65b7f3471f08 (patch) | |
tree | 0caa00e953f94c31c6992003d1cbf98f1b75f692 /test/ruby | |
parent | 2f49e05e1254b3d4f840f4f0566a850cabca6d19 (diff) | |
download | ruby-bc7bdea2f18061d270e1c1ba890a65b7f3471f08.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
Diffstat (limited to 'test/ruby')
-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 { |