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 | |
| 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
| -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 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] |
