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

SIGTERM should be also captured

because it will terminate the whole test process when it is
re-raised from this assertion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2015-11-29 11:45:59 +00:00
parent fc0c2d1cc2
commit 42225163c1

View file

@ -375,7 +375,7 @@ module Test
assert(status.success?, "#{message} (#{status.inspect})")
end
ABORT_SIGNALS = Signal.list.values_at(*%w"ILL ABRT BUS SEGV")
ABORT_SIGNALS = Signal.list.values_at(*%w"ILL ABRT BUS SEGV TERM")
def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **opt)
unless file and line