diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-09-26 14:28:49 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-09-26 14:28:49 +0900 |
commit | f0d827860783afd34e12450dd310e50917d396e3 (patch) | |
tree | 683c58c7fe10f44d92a9153e81ad838b3052d72c /test/ruby/test_rubyoptions.rb | |
parent | 5eef125afe0c2b02dd4fc92a393bad95768fd330 (diff) |
Run crash report test processes without `RUBY_ON_BUG`
These processes are to be crashed, avoid running debugger.
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index b872d35c5c..41ff0ecba9 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -847,7 +847,7 @@ class TestRubyOptions < Test::Unit::TestCase else cmd = ['-e', SEGVTest::KILL_SELF] end - status = assert_segv([{"RUBY_CRASH_REPORT"=>path}, *cmd], list: [], chdir: dir) + status = assert_segv([{"RUBY_CRASH_REPORT"=>path, "RUBY_ON_BUG"=>nil}, *cmd], list: [], chdir: dir) reports = Dir.glob("*.log", File::FNM_DOTMATCH, base: dir) assert_equal(1, reports.size) assert_pattern_list(list, File.read(File.join(dir, reports.first))) |