Skip to content

Commit 8e893df

Browse files
committed
[lldb] Fix flakyness in Minidump/no-process-id.yaml
1 parent c354f13 commit 8e893df

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lldb/test/Shell/Minidump/no-process-id.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# RUN: yaml2obj %s -o %t
2-
# RUN: %lldb -c %t -o "thread list" -o "register read" -b 2>&1 | FileCheck %s
2+
# RUN: %lldb -c %t -o "thread list" -o "register read" -b 2> %t.stderr | FileCheck %s
33

44
# CHECK: (lldb) target create --core
5-
# CHECK: unable to retrieve process ID from minidump file, setting process ID to 1
65
# CHECK: Core file {{.*}} was loaded.
76

87
# CHECK: (lldb) thread list
@@ -12,6 +11,9 @@
1211
# CHECK: (lldb) register read
1312
# CHECK: rsp = 0x00007ffceb34a210
1413

14+
# RUN: cat %t.stderr | FileCheck %s --check-prefix ERROR
15+
# ERROR: unable to retrieve process ID from minidump file, setting process ID to 1
16+
1517
--- !minidump
1618
Streams:
1719
- Type: ThreadList

0 commit comments

Comments
 (0)