Merge "Skip stack protector test on HWASan." into main am: f0247b6b68
Original change: https://android-review.googlesource.com/c/platform/bionic/+/3083273 Change-Id: Ie9b6f6830fce1c922c882f1a2b87b801d7244287 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
04f7765e16
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue