1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: restore $:

after require.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-04-08 11:25:24 +00:00
parent fa7a5d5477
commit eb1fa257b5
3 changed files with 19 additions and 6 deletions

View file

@ -1,4 +1,4 @@
Thu Apr 8 19:45:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Apr 8 20:25:19 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/extmk.rb (extmake): skip uncompiled extensions.
@ -13,11 +13,14 @@ Thu Apr 8 19:45:08 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/runner.rb: do nothing while cross-compiling.
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
know ruby binary.
know ruby binary, and restore $: after require.
* test/ruby/envutil.rb: give priority to RUBY environment variable to
use just compiled binary and libraries.
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: restore $:
after require.
Thu Apr 8 19:03:33 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_io_binmode): inverted condition. [ruby-dev:23349]

View file

@ -2,8 +2,13 @@ require 'test/unit'
require 'drb/drb'
require 'drb/extservm'
require 'timeout'
$:.replace($: | [File.expand_path("../ruby", File.dirname(__FILE__))])
require 'envutil'
begin
loadpath = $:.dup
$:.replace($: | [File.expand_path("../ruby", File.dirname(__FILE__))])
require 'envutil'
ensure
$:.replace(loadpath)
end
class DRbService
@@manager = DRb::ExtServManager.new

View file

@ -2,8 +2,13 @@ require 'test/unit'
require 'soap/rpc/driver'
require 'logger'
require 'webrick'
$:.replace($: | [File.expand_path("../ruby", File.dirname(__FILE__))])
require 'envutil'
begin
loadpath = $:.dup
$:.replace($: | [File.expand_path("../ruby", File.dirname(__FILE__))])
require 'envutil'
ensure
$:.replace(loadpath)
end
module SOAP