[前][次][番号順一覧][スレッド一覧]

ruby-changes:26033

From: naruse <ko1@a...>
Date: Sat, 1 Dec 2012 04:10:15 +0900 (JST)
Subject: [ruby-changes:26033] naruse:r38090 (trunk): Use RUBYOPT to overwrite original RUBYOPT ENV

naruse	2012-12-01 04:10:05 +0900 (Sat, 01 Dec 2012)

  New Revision: 38090

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38090

  Log:
    Use RUBYOPT to overwrite original RUBYOPT ENV

  Modified files:
    trunk/test/dl/test_handle.rb

Index: test/dl/test_handle.rb
===================================================================
--- test/dl/test_handle.rb	(revision 38089)
+++ test/dl/test_handle.rb	(revision 38090)
@@ -159,7 +159,7 @@
         # 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]