From 912701255459559eda521c2ff2a4b218657f70c3 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 5 Jul 2015 02:03:11 +0000 Subject: test_process.rb: reap pid * test/ruby/test_process.rb (test_exec_fd_3_redirect): should reap the grandchild process, in common. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index cb9440c836..3c1b78fd54 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -2048,6 +2048,7 @@ EOS a[1].write('.') assert_equal ".", b[0].read(1) ensure + Process.wait(pid) if pid a.each(&:close) if a b.each(&:close) if b end -- cgit v1.2.3