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

* bootstraptest/runner.rb (assert_normal_exit): use `` instead of

system.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-10-01 06:30:39 +00:00
parent 7d0787116d
commit e5a15da799
2 changed files with 6 additions and 1 deletions

View file

@ -171,7 +171,7 @@ def assert_normal_exit(testsrc, message = '')
$stderr.puts "\##{@count} #{@location}" if @verbose
faildesc = nil
filename = make_srcfile(testsrc)
system("#{@ruby} -W0 #{filename}")
`#{@ruby} -W0 #{filename}`
if $?.signaled?
signo = $?.termsig
signame = Signal.list.invert[signo]