Switch to libbase SilentDeathTest.
Bug: http://b/184955378
Test: treehugger
Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2
diff --git a/tests/pidfd_test.cpp b/tests/pidfd_test.cpp
index 7c691ef..b9fadb4 100644
--- a/tests/pidfd_test.cpp
+++ b/tests/pidfd_test.cpp
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#include <gtest/gtest.h>
+
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
@@ -24,16 +26,13 @@
#include <sys/pidfd.h>
#endif
+#include <android-base/silent_death_test.h>
#include <android-base/unique_fd.h>
-#include <gtest/gtest.h>
-
-#include "BionicDeathTest.h"
-
using android::base::unique_fd;
using namespace std::chrono_literals;
-using pidfd_DeathTest = BionicDeathTest;
+using pidfd_DeathTest = SilentDeathTest;
TEST(pidfd, pidfd_open) {
#if defined(__BIONIC__)