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

Use RUBYOPT to overwrite original RUBYOPT ENV

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-11-30 19:10:05 +00:00
parent c62ec3ae1a
commit 8539a917dd

View file

@ -159,7 +159,7 @@ module DL
# interface, below, should be used, since getpid() is a function and not a # interface, below, should be used, since getpid() is a function and not a
# data object.) # data object.)
# --- FreeBSD 8.0 dlsym(3) # --- FreeBSD 8.0 dlsym(3)
assert_in_out_err(['-W0'], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/) assert_in_out_err(['RUBYOPT' => '-W0'], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/)
require 'dl' require 'dl'
require 'objspace' require 'objspace'
print DL::Handle::NEXT.inspect print DL::Handle::NEXT.inspect