1
0
Fork 0
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:
seki 2004-03-13 05:41:25 +00:00
parent 4c99df4180
commit 74d5bc6603
3 changed files with 29 additions and 4 deletions

View file

@ -1,3 +1,10 @@
Sat Mar 13 14:28:16 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* test/drb/test_drbssl.rb: rescue LoadError. (Barkport from main
trunk)
* test/drb/test_drbunix.rb: ditto.
Wed Mar 10 22:28:09 2004 Minero Aoki <aamine@loveruby.net>
* lib/fileutils.rb (remove_dir): should handle symlink correctly.

View file

@ -1,6 +1,12 @@
$:.unshift(File.dirname(File.expand_path(__FILE__)))
require 'drbtest'
begin
require 'drb/ssl'
rescue LoadError
end
if Object.const_defined?("OpenSSL")
class DRbSSLService < DRbService
%w(ut_drb_drbssl.rb ut_array_drbssl.rb).each do |nm|
@ -63,3 +69,6 @@ class TestDRbSSLAry < Test::Unit::TestCase
@there = @ext.front
end
end
end

View file

@ -1,6 +1,12 @@
$:.unshift(File.dirname(File.expand_path(__FILE__)))
require 'drbtest'
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