summaryrefslogtreecommitdiff
path: root/test/dl
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 19:10:05 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 19:10:05 +0000
commit8539a917ddf13e48237bf9a10eb8b660dbba4628 (patch)
tree8e8950d91f2377391b2bd8f581a4972e3161713e /test/dl
parentc62ec3ae1aa5ac3b3f7f2756763a41c5703c06ca (diff)
Use RUBYOPT to overwrite original RUBYOPT ENV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
-rw-r--r--test/dl/test_handle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 34fb33d..4ef93ad 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -159,7 +159,7 @@ module DL
# interface, below, should be used, since getpid() is a function and not a
# data object.)
# --- 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 'objspace'
print DL::Handle::NEXT.inspect