mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/lib/envutil.rb (EnvUtil.invoke_ruby): need to rescue because
Signal.signame may raise exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dff21f052f
commit
f73aefc627
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 3 22:25:24 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/lib/envutil.rb (EnvUtil.invoke_ruby): need to rescue because
|
||||
Signal.signame may raise exception.
|
||||
|
||||
Tue Mar 3 16:57:39 2015 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* tool/redmine-backporter.rb: use 'b' instead of 's' for showing
|
||||
|
|
|
@ -70,7 +70,7 @@ module EnvUtil
|
|||
unless (!th_stdout || th_stdout.join(timeout)) && (!th_stderr || th_stderr.join(timeout))
|
||||
signals = Array(signal).select do |sig|
|
||||
DEFAULT_SIGNALS[sig.to_s] or
|
||||
DEFAULT_SIGNALS[Signal.signame(sig)]
|
||||
DEFAULT_SIGNALS[Signal.signame(sig)] rescue false
|
||||
end
|
||||
signals |= [:KILL]
|
||||
case pgroup = opt[:pgroup]
|
||||
|
|
Loading…
Add table
Reference in a new issue