From cf2da37701897a31951f1b83667ab5575606c297 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 9 Feb 2013 16:44:56 +0000 Subject: [PATCH] the process maybe already finished git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 1230778711..96335c273c 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1591,7 +1591,7 @@ EOS # test Process.setsid return value and Process::getsid(pid) assert_equal(Marshal.load(io), Process.getsid(io.pid)) ensure - Process.kill(:KILL, io.pid) + Process.kill(:KILL, io.pid) rescue nil Process.wait(io.pid) end end