summaryrefslogtreecommitdiff
path: root/tests/pidfd_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pidfd_test.cpp')
-rw-r--r--tests/pidfd_test.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/pidfd_test.cpp b/tests/pidfd_test.cpp
index 7c691ef16..b9fadb4a0 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__)