mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rescue LoadError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4c99df4180
commit
74d5bc6603
3 changed files with 29 additions and 4 deletions
|
@ -1,6 +1,12 @@
|
|||
$:.unshift(File.dirname(File.expand_path(__FILE__)))
|
||||
require 'drbtest'
|
||||
require 'drb/unix'
|
||||
|
||||
begin
|
||||
require 'drb/unix'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
if Object.const_defined?("UNIXServer")
|
||||
|
||||
|
||||
class DRbUNIXService < DRbService
|
||||
%w(ut_drb_drbunix.rb ut_array_drbunix.rb).each do |nm|
|
||||
|
@ -46,3 +52,6 @@ class TestDRbUNIXAry < Test::Unit::TestCase
|
|||
@there = @ext.front
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue