[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
This commit is contained in:
Dave Lee 2020-10-12 14:48:52 -07:00
parent b764edc59f
commit a52cc9b4be
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@ UNSUPPORTED: system-windows
RUN: %clang_host %p/Inputs/abort.c -o %t RUN: %clang_host %p/Inputs/abort.c -o %t
RUN: %lldb %t -o run -o continue | FileCheck %s RUN: %lldb %t -o run -o continue | FileCheck %s
CHECK: status = 6 (0x00000006) CHECK: {{status = 6 \(0x00000006\)|status = 0 \(0x00000000\) Terminated due to signal 6}}