From 46062034a0110c554b2f429ef7e85f22746ca068 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(+) (limited to 'test/ruby/test_process.rb') 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