From a52cc9b4be362b12ca261000b723374d4b772a45 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Mon, 12 Oct 2020 14:48:52 -0700 Subject: [PATCH] [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 --- lldb/test/Shell/Process/TestAbortExitCode.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/test/Shell/Process/TestAbortExitCode.test b/lldb/test/Shell/Process/TestAbortExitCode.test index 5be0a15ab172..746bc915897e 100644 --- a/lldb/test/Shell/Process/TestAbortExitCode.test +++ b/lldb/test/Shell/Process/TestAbortExitCode.test @@ -3,4 +3,4 @@ UNSUPPORTED: system-windows RUN: %clang_host %p/Inputs/abort.c -o %t 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}}