summaryrefslogtreecommitdiff
path: root/debuggerd/debuggerd_test.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2021-04-16 13:30:32 -0700
committerChristopher Ferris <cferris@google.com>2021-04-16 13:35:16 -0700
commit6702256e0c07560baa89c043e24e87a0a84a8b73 (patch)
tree46b254fbff81e7789550524130e7d9a5cd79b0f4 /debuggerd/debuggerd_test.cpp
parent5e89a35ae39c6416157d870eab17ecb275852e63 (diff)
Allow another prctl call.
A change was made so that pthread_create is calling prctl(PR_PAC_RESET_KEYS, ...) on aarch64. It's possible that other seccomp policies might need to change to allow this. Test: CrasherTest.seccomp_backtrace passes on aarch64. Change-Id: I9c4d1b3dca5f19a6285bf904bb942f1f52e42bd0
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
-rw-r--r--debuggerd/debuggerd_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/debuggerd_test.cpp b/debuggerd/debuggerd_test.cpp
index 144faeec0..93725b914 100644
--- a/debuggerd/debuggerd_test.cpp
+++ b/debuggerd/debuggerd_test.cpp
@@ -274,7 +274,7 @@ void CrasherTest::AssertDeath(int signo) {
}
if (signo == 0) {
- ASSERT_TRUE(WIFEXITED(status));
+ ASSERT_TRUE(WIFEXITED(status)) << "Terminated due to unexpected signal " << WTERMSIG(status);
ASSERT_EQ(0, WEXITSTATUS(signo));
} else {
ASSERT_FALSE(WIFEXITED(status));