From 8539a917ddf13e48237bf9a10eb8b660dbba4628 Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 30 Nov 2012 19:10:05 +0000 Subject: [PATCH] Use RUBYOPT to overwrite original RUBYOPT ENV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dl/test_handle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb index 34fb33dd17..4ef93adf41 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#\z/) + assert_in_out_err(['RUBYOPT' => '-W0'], <<-INPUT, /\A#\z/) require 'dl' require 'objspace' print DL::Handle::NEXT.inspect