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

@ -1,3 +1,8 @@
Mon Oct 1 15:29:35 2007 Tanaka Akira <akr@fsij.org>
* bootstraptest/runner.rb (assert_normal_exit): use `` instead of
system.
Mon Oct 1 15:17:48 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* gc.c (id2ref): T_VALUES is less than T_BLOCK. [ruby-dev:31911]

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]