diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-01 06:30:39 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-01 06:30:39 +0000 |
commit | e5a15da7990e9bc98733b11cfae3180023e82ee3 (patch) | |
tree | bf5b38dd671bcb590a7b810f47aab861d2f01a1c | |
parent | 7d0787116d9aca851422acbc59c6488fff65850c (diff) | |
download | ruby-e5a15da7990e9bc98733b11cfae3180023e82ee3.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bootstraptest/runner.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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] diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 7dee5aee26..7b971dd500 100644 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -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] |