Project

General

Profile

Bug #16492 ยป 0001-Timeout-the-test_bug_reporter_add-witout-raising-err.patch

vo.x (Vit Ondruch), 07/27/2020 01:02 PM

View differences:

test/-ext-/bug_reporter/test_bug_reporter.rb
21 21
    args = ["--disable-gems", "-r-test-/bug_reporter",
22 22
            "-C", tmpdir]
23 23
    stdin = "register_sample_bug_reporter(12345); Process.kill :SEGV, $$"
24
    assert_in_out_err(args, stdin, [], expected_stderr, encoding: "ASCII-8BIT")
24
    assert_in_out_err(args, stdin, [], expected_stderr, encoding: "ASCII-8BIT", timeout_error: nil)
25 25
  ensure
26 26
    FileUtils.rm_rf(tmpdir) if tmpdir
27 27
  end
28
-