From 8e893dfed5f9ae0aaebf528d12dccd109f17f2ee Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 16 Mar 2022 21:21:11 -0700 Subject: [PATCH] [lldb] Fix flakyness in Minidump/no-process-id.yaml --- lldb/test/Shell/Minidump/no-process-id.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lldb/test/Shell/Minidump/no-process-id.yaml b/lldb/test/Shell/Minidump/no-process-id.yaml index a3374615fe28f..7eea67290d4eb 100644 --- a/lldb/test/Shell/Minidump/no-process-id.yaml +++ b/lldb/test/Shell/Minidump/no-process-id.yaml @@ -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