aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2024-05-15 17:53:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-05-15 17:53:50 +0000
commitf0247b6b682ea1b2f8d24cffd1042df024562d14 (patch)
treefd62fa2df1e2260355439b78821509663fcf7f67
parent3c0173d988fdbdc934a8b992d59b469778016d55 (diff)
parent0e0d600523994163b343c7bc69164e68284d7a67 (diff)
downloadbionic-f0247b6b682ea1b2f8d24cffd1042df024562d14.tar.gz
Merge "Skip stack protector test on HWASan." into main
-rw-r--r--tests/stack_protector_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stack_protector_test.cpp b/tests/stack_protector_test.cpp
index c4be78c72..aea791c81 100644
--- a/tests/stack_protector_test.cpp
+++ b/tests/stack_protector_test.cpp
@@ -136,7 +136,7 @@ TEST_F(stack_protector_DeathTest, modify_stack_protector) {
if (stack_mte_enabled()) {
GTEST_SKIP() << "Stack MTE is enabled, stack protector is not available";
} else if (hwasan_enabled()) {
- ASSERT_EXIT(modify_stack_protector_test(), testing::KilledBySignal(SIGABRT), "tag-mismatch");
+ GTEST_SKIP() << "HWASan is enabled, stack protector is not testable";
} else {
ASSERT_EXIT(modify_stack_protector_test(), testing::KilledBySignal(SIGABRT),
"stack corruption detected");