summaryrefslogtreecommitdiff
path: root/test/drb/drbtest.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-19 07:13:01 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-19 07:13:01 +0000
commit610b5d79759706fb2688b652da1c21006f9d4af2 (patch)
tree869b868b1ba82da7c5508e4815030c963a1ad3e6 /test/drb/drbtest.rb
parent91de9894fc5898b78878f8d4e9588794dd5bccc9 (diff)
* variable.c (rb_cvar_set): class variables become private to the
particular class/module. [Ruby2] * variable.c (rb_cvar_get): ditto. * io.c (rb_io_sync): need not to check writable. [ruby-core:02674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/drbtest.rb')
-rw-r--r--test/drb/drbtest.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index 792cdcb7c7e..c95b9002357 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -12,9 +12,15 @@ class DRbService
)
@@ruby += " -d" if $DEBUG
@@dir = File.dirname(File.expand_path(__FILE__))
+ def self.manager
+ @@manager
+ end
+ def self.add_service_command(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|
- DRb::ExtServManager.command[nm] = "#{@@ruby} #{@@dir}/#{nm}"
+ add_service_command(nm)
end
@server = @@server = DRb::DRbServer.new(nil, @@manager, {})
def self.manager