diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 09:17:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 09:17:23 +0000 |
commit | 9f473df72a2f46f2f30c9995af4c2fa14265eb6a (patch) | |
tree | 68de751f5b20c41270dc3029a41334917f531283 /test | |
parent | b0f623f5f418fed481c3634b6a3d1a0f508c888d (diff) | |
download | ruby-9f473df72a2f46f2f30c9995af4c2fa14265eb6a.tar.gz |
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/trunk@41427 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 $! |