[lldb] Fix flakyness in Minidump/no-process-id.yaml

This commit is contained in:
Jonas Devlieghere 2022-03-16 21:21:11 -07:00
parent c354f13e69
commit 8e893dfed5
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D

View File

@ -1,8 +1,7 @@
# RUN: yaml2obj %s -o %t
# RUN: %lldb -c %t -o "thread list" -o "register read" -b 2>&1 | FileCheck %s
# RUN: %lldb -c %t -o "thread list" -o "register read" -b 2> %t.stderr | FileCheck %s
# CHECK: (lldb) target create --core
# CHECK: unable to retrieve process ID from minidump file, setting process ID to 1
# CHECK: Core file {{.*}} was loaded.
# CHECK: (lldb) thread list
@ -12,6 +11,9 @@
# CHECK: (lldb) register read
# CHECK: rsp = 0x00007ffceb34a210
# RUN: cat %t.stderr | FileCheck %s --check-prefix ERROR
# ERROR: unable to retrieve process ID from minidump file, setting process ID to 1
--- !minidump
Streams:
- Type: ThreadList