summaryrefslogtreecommitdiff
path: root/test/drb/ut_timerholder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/ut_timerholder.rb')
-rw-r--r--test/drb/ut_timerholder.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/drb/ut_timerholder.rb b/test/drb/ut_timerholder.rb
index 6f66dd3393..6c62ea7726 100644
--- a/test/drb/ut_timerholder.rb
+++ b/test/drb/ut_timerholder.rb
@@ -2,6 +2,8 @@ require 'runit/testcase'
require 'runit/cui/testrunner'
require 'timerholder'
+module DRbTests
+
class TimerHolderTest < RUNIT::TestCase
def do_test(timeout, keeper_sleep = nil)
holder = TimerHolder.new(timeout)
@@ -44,6 +46,8 @@ class TimerHolderTest < RUNIT::TestCase
end
end
+end
+
if __FILE__ == $0
- RUNIT::CUI::TestRunner.run(TimerHolderTest.suite)
+ RUNIT::CUI::TestRunner.run(DRbTests::TimerHolderTest.suite)
end