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 | 4c0f24a9ddabf8c5469e0214d5be02f9fa42b28e (patch) | |
tree | bf5b38dd671bcb590a7b810f47aab861d2f01a1c /bootstraptest | |
parent | 8d86afa0f1aade40ff9eca0fd92f0a6a41222f75 (diff) | |
download | ruby-4c0f24a9ddabf8c5469e0214d5be02f9fa42b28e.tar.gz ruby-4c0f24a9ddabf8c5469e0214d5be02f9fa42b28e.tar.xz ruby-4c0f24a9ddabf8c5469e0214d5be02f9fa42b28e.zip |
* bootstraptest/runner.rb (assert_normal_exit): use `` instead of
system.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r-- | bootstraptest/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 7dee5aee2..7b971dd50 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] |