mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
bootstraptest/runner.rb may run on older ruby
* bootstraptest/runner.rb: do not use safe navigation operator. this runner may run on older ruby. partially revert r53110 (GH-1142 patched by @mlarraz). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f2f16f2a35
commit
cafeeb4bec
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Jun 28 22:29:36 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* bootstraptest/runner.rb: do not use safe navigation operator.
|
||||
this runner may run on older ruby. partially revert r53110
|
||||
(GH-1142 patched by @mlarraz).
|
||||
|
||||
Tue Jun 28 22:09:09 2017 Akio Tajima <artonx@yahoo.co.jp>
|
||||
|
||||
* lib/fileutils.rb: rescue Errno:EACCES for chown.
|
||||
|
|
|
@ -347,7 +347,7 @@ def assert_normal_exit(testsrc, *rest)
|
|||
$stderr.reopen(old_stderr)
|
||||
old_stderr.close
|
||||
end
|
||||
if status&.signaled?
|
||||
if status && status.signaled?
|
||||
signo = status.termsig
|
||||
signame = Signal.list.invert[signo]
|
||||
unless ignore_signals and ignore_signals.include?(signame)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue