From 9f473df72a2f46f2f30c9995af4c2fa14265eb6a Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 19 Jun 2013 09:17:23 +0000 Subject: [PATCH] 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 --- test/test_pty.rb | 1 + 1 file changed, 1 insertion(+) 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 $!