From 91e816aa0e5d3c3b32c04b4da81b75a6a494173f Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 7 Mar 2023 21:24:47 -0800 Subject: [PATCH] Accept SEGV_MTESERR in CrasherTest.mte_async test. This is possible when upgrading to sync mode. Change-Id: I71c213cb9ddda87765a0dc2ff5455f0eb7b484fe --- debuggerd/debuggerd_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuggerd/debuggerd_test.cpp b/debuggerd/debuggerd_test.cpp index 9c1b1361d..9d9238f8d 100644 --- a/debuggerd/debuggerd_test.cpp +++ b/debuggerd/debuggerd_test.cpp @@ -723,7 +723,7 @@ TEST_F(CrasherTest, mte_async) { std::string result; ConsumeFd(std::move(output_fd), &result); - ASSERT_MATCH(result, R"(signal 11 \(SIGSEGV\), code 8 \(SEGV_MTEAERR\), fault addr --------)"); + ASSERT_MATCH(result, R"(signal 11 \(SIGSEGV\), code [89] \(SEGV_MTE[AS]ERR\), fault addr)"); #else GTEST_SKIP() << "Requires aarch64"; #endif