summaryrefslogtreecommitdiff
path: root/test/drb/test_drb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/test_drb.rb')
-rw-r--r--test/drb/test_drb.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/drb/test_drb.rb b/test/drb/test_drb.rb
index 990cb825cf..8ab00ec2a0 100644
--- a/test/drb/test_drb.rb
+++ b/test/drb/test_drb.rb
@@ -299,3 +299,19 @@ class TestDRbLarge < Test::Unit::TestCase
assert_kind_of(StandardError, exception)
end
end
+
+class TestBug4409 < Test::Unit::TestCase
+ def setup
+ @ext = DRbService.ext_service('ut_eq.rb')
+ @there = @ext.front
+ end
+
+ def teardown
+ @ext.stop_service if @ext
+ end
+
+ def test_bug4409
+ foo = @there.foo
+ assert(@there.foo?(foo))
+ end
+end