diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-29 11:45:59 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-29 11:45:59 +0000 |
commit | 219cef9bd58b513764462fdb27a8ebd4e5e40990 (patch) | |
tree | 92afa9c2628f6eb5e4cb23415468fbdbd13bbcc3 /test/lib/envutil.rb | |
parent | 1ec09ec8112824cfdce151e32782aa0ff2387fb3 (diff) | |
download | ruby-219cef9bd58b513764462fdb27a8ebd4e5e40990.tar.gz |
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
Diffstat (limited to 'test/lib/envutil.rb')
-rw-r--r-- | test/lib/envutil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index 4faeabb995..0fb26b0c52 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -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 |