зеркало из https://github.com/github/ruby.git
envutil.rb: successfully terminated process
* test/ruby/envutil.rb (FailDesc): allow successfully terminated process without a signal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
55d4afc77e
Коммит
ac65855df7
|
@ -272,9 +272,10 @@ module Test
|
|||
pid = status.pid
|
||||
now = Time.now
|
||||
faildesc = proc do
|
||||
signo = status.termsig
|
||||
signame = Signal.signame(signo)
|
||||
sigdesc = "signal #{signo}"
|
||||
if signo = status.termsig
|
||||
signame = Signal.signame(signo)
|
||||
sigdesc = "signal #{signo}"
|
||||
end
|
||||
log = EnvUtil.diagnostic_reports(signame, EnvUtil.rubybin, pid, now)
|
||||
if signame
|
||||
sigdesc = "SIG#{signame} (#{sigdesc})"
|
||||
|
|
Загрузка…
Ссылка в новой задаче