diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-12 04:24:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-12 04:24:10 +0000 |
commit | 434fc4c8a0db806ec0ea2586d12610081e067fd1 (patch) | |
tree | 50aed056061732522c26a879ebd7967713bdfdfe /test | |
parent | 6bbe44a39a1c4604a6d72e48f9a412bf30ee9feb (diff) |
drbtest.rb: make command an array
* test/drb/drbtest.rb (DRbService): make @@ruby an array to be
consistent with r35424.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/drb/drbtest.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb index 4488e1be21..40ef35ef2e 100644 --- a/test/drb/drbtest.rb +++ b/test/drb/drbtest.rb @@ -3,17 +3,16 @@ require 'test/unit' require 'drb/drb' require 'drb/extservm' require 'timeout' -require 'shellwords' module DRbTests class DRbService @@manager = DRb::ExtServManager.new - @@ruby = Shellwords.escape(EnvUtil.rubybin) - @@ruby += " -d" if $DEBUG + @@ruby = [EnvUtil.rubybin] + @@ruby << "-d" if $DEBUG def self.add_service_command(nm) dir = File.dirname(File.expand_path(__FILE__)) - DRb::ExtServManager.command[nm] = [@@ruby, "#{dir}/#{nm}"] + DRb::ExtServManager.command[nm] = @@ruby + ["#{dir}/#{nm}"] end %w(ut_drb.rb ut_array.rb ut_port.rb ut_large.rb ut_safe1.rb ut_eval.rb ut_eq.rb).each do |nm| |