diff options
author | Koichi Sasada <[email protected]> | 2020-05-26 04:49:11 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-05-26 04:49:11 +0900 |
commit | c9fe4ebd29f71805648a048d2cc431c94039ceaa (patch) | |
tree | 522c77482655f3604922942a9e33b9ea04b88857 | |
parent | 7bafc9f433223d82aac8e8974b9bfdbdc34ca4df (diff) |
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.
https://github.com/ruby/ruby/runs/707088232?check_suite_focus=true#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 "".
```
-rw-r--r-- | test/ruby/test_vm_dump.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_vm_dump.rb b/test/ruby/test_vm_dump.rb index 68f0fa7f27..679ce94b91 100644 --- a/test/ruby/test_vm_dump.rb +++ b/test/ruby/test_vm_dump.rb @@ -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 |