ruby-changes:29375
From: nobu <ko1@a...>
Date: Wed, 19 Jun 2013 18:17:33 +0900 (JST)
Subject: [ruby-changes:29375] nobu:r41427 (trunk): test_pty.rb: reap zombie
nobu 2013-06-19 18:17:23 +0900 (Wed, 19 Jun 2013) New Revision: 41427 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41427 Log: test_pty.rb: reap zombie * test/test_pty.rb (test_cloexec): reap zombie than leaving to detaching thread. Modified files: trunk/test/test_pty.rb Index: test/test_pty.rb =================================================================== --- test/test_pty.rb (revision 41426) +++ test/test_pty.rb (revision 41427) @@ -211,6 +211,7 @@ class TestPTY < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_pty.rb#L211 PTY.spawn(RUBY, '-e', '') {|r, w, pid| assert(r.close_on_exec?) assert(w.close_on_exec?) + Process.wait(pid) } rescue RuntimeError skip $! -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/