From dd23ad7e8489d331da2b280b42326a4cb84fe89b Mon Sep 17 00:00:00 2001 From: nahi Date: Tue, 17 Feb 2004 14:28:34 +0000 Subject: * test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $: trick to share the testcase test/ruby/marshaltestlib.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/soap/marshal/test_marshal.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test/soap') diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb index 846619523c..5cc30a2b5d 100644 --- a/test/soap/marshal/test_marshal.rb +++ b/test/soap/marshal/test_marshal.rb @@ -1,7 +1,13 @@ require 'test/unit' require 'soap/marshal' -require File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby/marshaltestlib') - +dir = File.join(File.dirname(File.expand_path(__FILE__)), '../../ruby') +orgpath = $:.dup +begin + $:.push(dir) + require 'marshaltestlib' +ensure + $:.replace(orgpath) +end module SOAP module Marshal -- cgit v1.2.3