diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-12 03:12:37 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-12 03:12:37 +0000 |
commit | 34fb7d783045dd4bb7b6dd49e6a1e922b7b947ff (patch) | |
tree | 0cd24c8bc3e97479cba4b92fd21bf3037f9c61e7 /test/ruby/test_rubyoptions.rb | |
parent | a52c63e420c6e30688f00790d39bb1f720b7be80 (diff) |
Specify rlimits_core to prevent making core file
Stable fix for r38041.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 9e8978fd05..12879c3b8b 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -513,7 +513,9 @@ class TestRubyOptions < Test::Unit::TestCase status = assert_in_out_err(['-e', 'class Bogus; def to_str; exit true; end; end', '-e', '$".unshift Bogus.new', '-e', 'Process.kill :SEGV, $$'], - "", //, /#<Bogus:/) + "", //, /#<Bogus:/, + nil, + opts) assert_not_predicate(status, :success?, "segv but success #{bug7402}") end |