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:
parent
649820fdb4
commit
cf2da37701
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue