summaryrefslogtreecommitdiff
path: root/test/drb/test_drbunix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/test_drbunix.rb')
-rw-r--r--test/drb/test_drbunix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/drb/test_drbunix.rb b/test/drb/test_drbunix.rb
index e35a7bd580..eeaa9c93ef 100644
--- a/test/drb/test_drbunix.rb
+++ b/test/drb/test_drbunix.rb
@@ -10,11 +10,11 @@ if Object.const_defined?("UNIXServer")
class DRbUNIXService < DRbService
%w(ut_drb_drbunix.rb ut_array_drbunix.rb).each do |nm|
- DRb::ExtServManager.command[nm] = "#{@@ruby} #{@@dir}/#{nm}"
+ add_service_command(nm)
end
uri = ARGV.shift if $0 == __FILE__
- @server = DRb::DRbServer.new(uri || 'drbunix:', @@manager, {})
+ @server = DRb::DRbServer.new(uri || 'drbunix:', self.manager, {})
end
class TestDRbUNIXCore < Test::Unit::TestCase