summaryrefslogtreecommitdiff
path: root/test/drb/ut_eq.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-22 10:10:06 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-01-22 11:08:59 +0900
commit36fc5ee64f8c42836bfad57c8d6df833ce29d7d7 (patch)
treec63f2b3ef602be7bfedf8ca94c00e19e89cfa609 /test/drb/ut_eq.rb
parent67b00f721dd4a8e2a137fcc4d69071ba2f5cbd8c (diff)
Extract drb
Diffstat (limited to 'test/drb/ut_eq.rb')
-rw-r--r--test/drb/ut_eq.rb37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/drb/ut_eq.rb b/test/drb/ut_eq.rb
deleted file mode 100644
index 56285a384f..0000000000
--- a/test/drb/ut_eq.rb
+++ /dev/null
@@ -1,37 +0,0 @@
-# frozen_string_literal: false
-require 'drb/drb'
-require 'drb/extserv'
-
-module DRbTests
-
-class Foo
- include DRbUndumped
-end
-
-class Bar
- include DRbUndumped
- def initialize
- @foo = Foo.new
- end
- attr_reader :foo
-
- def foo?(foo)
- @foo == foo
- end
-end
-
-end
-
-if __FILE__ == $0
- def ARGV.shift
- it = super()
- raise "usage: #{$0} <uri> <name>" unless it
- it
- end
-
- DRb.start_service('druby://localhost:0', DRbTests::Bar.new)
- es = DRb::ExtServ.new(ARGV.shift, ARGV.shift)
- DRb.thread.join
- es.stop_service if es.alive?
-end
-