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

ruby-changes:28353

From: naruse <ko1@a...>
Date: Mon, 22 Apr 2013 11:59:25 +0900 (JST)
Subject: [ruby-changes:28353] naruse:r40405 (trunk): Specify --disable-gems

naruse	2013-04-22 11:59:12 +0900 (Mon, 22 Apr 2013)

  New Revision: 40405

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

  Log:
    Specify --disable-gems

  Modified files:
    trunk/test/ruby/test_rubyoptions.rb

Index: test/ruby/test_rubyoptions.rb
===================================================================
--- test/ruby/test_rubyoptions.rb	(revision 40404)
+++ test/ruby/test_rubyoptions.rb	(revision 40405)
@@ -509,7 +509,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L509
       (?:#{additional})
       \z
       )x
-    assert_in_out_err(["-e", "Process.kill :SEGV, $$"], "", [], expected_stderr, nil, opts)
+    assert_in_out_err(["--disable-gems", "-e", "Process.kill :SEGV, $$"], "", [], expected_stderr, nil, opts)
 
     bug7402 = '[ruby-core:49573]'
     status = assert_in_out_err(['-e', 'class Bogus; def to_str; exit true; end; end',
@@ -524,7 +524,7 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L524
     Tempfile.create(["test_ruby_test_bug7597", ".rb"]) {|t|
       t.write "f" * 100
       t.flush
-      assert_in_out_err(["-e", "$0=ARGV[0]; Process.kill :SEGV, $$", t.path],
+      assert_in_out_err(["--disable-gems", "-e", "$0=ARGV[0]; Process.kill :SEGV, $$", t.path],
                         "", [], expected_stderr, bug7597, opts)
     }
   end

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

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