Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (14 sloc) 638 Bytes
#!/usr/bin/env ruby
# These fix 1.8.7 test/unit results where a DRbUnknown is returned because the testdrb client doesn't have the classes
# in its local namespace. (See issue #2)
require 'minitest/unit'
rescue LoadError
# MiniTest is Ruby 1.9, and the classes below only exist in the pre 1.9 test/unit
require 'test/unit/testresult'
require 'test/unit/failure'
require 'drb'
DRb.start_service("druby://") # this allows Ruby to do some magical stuff so you can pass an output stream over DRb.
test_server = DRbObject.new_with_uri("druby://")
result =, $stderr, $stdout)