1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

the process maybe already finished

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-02-09 16:44:56 +00:00
parent 649820fdb4
commit cf2da37701

View file

@ -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