mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
cause SEGV for the test.
21991e6ca5
enables `__builtin_assume()` for clang and it seems skip SEGV on rb_class_of() with unexpected value. This test expects a [BUG] output, so this patch causes [BUG] to show [BUG] message.707088232 (step)
:12:230 ``` 1) Failure: TestVMDump#test_darwin_invalid_access [/Users/runner/runners/2.262.1/work/ruby/ruby/src/test/ruby/test_vm_dump.rb:19]: pid 43128 exit 0. 1. [2/2] Assertion for "stderr" | Expected /^\[IMPORTANT\]/ to match "". ```
This commit is contained in:
parent
7bafc9f433
commit
c9fe4ebd29
1 changed files with 1 additions and 1 deletions
|
@ -16,6 +16,6 @@ class TestVMDump < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_darwin_invalid_access
|
||||
assert_darwin_vm_dump_works(['-rfiddle', '-eFiddle.dlunwrap(100).class'])
|
||||
assert_darwin_vm_dump_works(['-rfiddle', '-eFiddle.dlunwrap(100).inspect'])
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue