summaryrefslogtreecommitdiff
path: root/test/drb/test_drbunix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/test_drbunix.rb')
-rw-r--r--test/drb/test_drbunix.rb12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/drb/test_drbunix.rb b/test/drb/test_drbunix.rb
index e05637a2b78..88f47ddbb73 100644
--- a/test/drb/test_drbunix.rb
+++ b/test/drb/test_drbunix.rb
@@ -1,6 +1,13 @@
$:.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 +53,6 @@ class TestDRbUNIXAry < Test::Unit::TestCase
@there = @ext.front
end
end
+
+
+end