Skip to content

Commit a52cc9b

Browse files
committed
[lldb] Handle alternative output in TestAbortExitCode
This test On macOS, this test can instead return `status = 0 (0x00000000) Terminated due to signal 6`. This updates the `CHECK` accordingly. Differential Revision: https://reviews.llvm.org/D89273
1 parent b764edc commit a52cc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/Shell/Process/TestAbortExitCode.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ UNSUPPORTED: system-windows
33
RUN: %clang_host %p/Inputs/abort.c -o %t
44
RUN: %lldb %t -o run -o continue | FileCheck %s
55

6-
CHECK: status = 6 (0x00000006)
6+
CHECK: {{status = 6 \(0x00000006\)|status = 0 \(0x00000000\) Terminated due to signal 6}}

0 commit comments

Comments
 (0)