summaryrefslogtreecommitdiff
path: root/test/drb/ut_array_drbunix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_array_drbunix.rb')
-rw-r--r--test/drb/ut_array_drbunix.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/drb/ut_array_drbunix.rb b/test/drb/ut_array_drbunix.rb
new file mode 100644
index 00000000000..76d2a610afc
--- /dev/null
+++ b/test/drb/ut_array_drbunix.rb
@@ -0,0 +1,15 @@
+require 'drb/drb'
+require 'drb/extserv'
+
+if __FILE__ == $0
+ def ARGV.shift
+ it = super()
+ raise "usage: #{$0} <uri> <name>" unless it
+ it
+ end
+
+ DRb.start_service('drbunix:', [1, 2, 'III', 4, "five", 6])
+ es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
+ DRb.thread.join
+end
+