summaryrefslogtreecommitdiff
path: root/test/soap
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-17 14:28:34 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-17 14:28:34 +0000
commitdd23ad7e8489d331da2b280b42326a4cb84fe89b (patch)
treee7993bc03ced2a5918ed8d3a13a9c7380a9a7771 /test/soap
parentffd075fad5187b5688f99e1b560c33e3ef9efd6b (diff)
* 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
Diffstat (limited to 'test/soap')
-rw-r--r--test/soap/marshal/test_marshal.rb10
1 files changed, 8 insertions, 2 deletions
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