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
@ -1591,7 +1591,7 @@ EOS
|
|||||||
# test Process.setsid return value and Process::getsid(pid)
|
# test Process.setsid return value and Process::getsid(pid)
|
||||||
assert_equal(Marshal.load(io), Process.getsid(io.pid))
|
assert_equal(Marshal.load(io), Process.getsid(io.pid))
|
||||||
ensure
|
ensure
|
||||||
Process.kill(:KILL, io.pid)
|
Process.kill(:KILL, io.pid) rescue nil
|
||||||
Process.wait(io.pid)
|
Process.wait(io.pid)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user