summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-13 15:33:11 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-13 15:33:11 +0000
commit11fe8c971570e554c916c4085025909d9149346f (patch)
treefe1379f98a2dc07bd8857307e8c3b1cb575f585c /test
parentde13975790da4c6928c253e915444932a25fdb7f (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.rb1
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 $!