ruby-changes:41738
From: nobu <ko1@a...>
Date: Fri, 12 Feb 2016 13:23:57 +0900 (JST)
Subject: [ruby-changes:41738] nobu:r53812 (trunk): drbtest.rb: make command an array
nobu 2016-02-12 13:24:10 +0900 (Fri, 12 Feb 2016) New Revision: 53812 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53812 Log: drbtest.rb: make command an array * test/drb/drbtest.rb (DRbService): make @@ruby an array to be consistent with r35424. Modified files: trunk/test/drb/drbtest.rb Index: test/drb/drbtest.rb =================================================================== --- test/drb/drbtest.rb (revision 53811) +++ test/drb/drbtest.rb (revision 53812) @@ -3,17 +3,16 @@ require 'test/unit' https://github.com/ruby/ruby/blob/trunk/test/drb/drbtest.rb#L3 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| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/