diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-13 15:33:11 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-13 15:33:11 +0000 |
commit | 11fe8c971570e554c916c4085025909d9149346f (patch) | |
tree | fe1379f98a2dc07bd8857307e8c3b1cb575f585c /test | |
parent | de13975790da4c6928c253e915444932a25fdb7f (diff) |
merge revision(s) 41427:
test_pty.rb: reap zombie
* test/test_pty.rb (test_cloexec): reap zombie than leaving to
detaching thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@44182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/test_pty.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_pty.rb b/test/test_pty.rb index 0b05c62477..b6ce684509 100644 --- a/test/test_pty.rb +++ b/test/test_pty.rb @@ -211,6 +211,7 @@ class TestPTY < Test::Unit::TestCase PTY.spawn(RUBY, '-e', '') {|r, w, pid| assert(r.close_on_exec?) assert(w.close_on_exec?) + Process.wait(pid) } rescue RuntimeError skip $! |