mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/drb/drbtest.rb (DRbService.add_service_command): quotes
rubybin only, not including -d. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
99bf251b69
commit
d3fc1d3e3a
1 changed files with 3 additions and 2 deletions
|
@ -2,15 +2,16 @@ require 'test/unit'
|
|||
require 'drb/drb'
|
||||
require 'drb/extservm'
|
||||
require 'timeout'
|
||||
require 'shellwords'
|
||||
require_relative '../ruby/envutil'
|
||||
|
||||
class DRbService
|
||||
@@manager = DRb::ExtServManager.new
|
||||
@@ruby = EnvUtil.rubybin
|
||||
@@ruby = Shellwords.escape(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).each do |nm|
|
||||
|
|
Loading…
Reference in a new issue