Switch to libbase SilentDeathTest.
Bug: http://b/184955378
Test: treehugger
Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2
diff --git a/tests/system_properties_test.cpp b/tests/system_properties_test.cpp
index 6d696c7..aa8fef4 100644
--- a/tests/system_properties_test.cpp
+++ b/tests/system_properties_test.cpp
@@ -15,7 +15,6 @@
*/
#include <gtest/gtest.h>
-#include "BionicDeathTest.h"
#include <errno.h>
#include <sys/wait.h>
@@ -25,6 +24,7 @@
#include <thread>
#include <android-base/file.h>
+#include <android-base/silent_death_test.h>
using namespace std::literals;
@@ -425,7 +425,7 @@
WTERMSIG(exit_status) == SIGABRT);
}
-class properties_DeathTest : public BionicDeathTest {};
+using properties_DeathTest = SilentDeathTest;
TEST_F(properties_DeathTest, read_only) {
#if defined(__BIONIC__)