summaryrefslogtreecommitdiff
path: root/tests/pidfd_test.cpp
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-04-25 19:53:00 +0000
committerScott Lobdell <slobdell@google.com>2021-04-25 19:53:00 +0000
commitdfa7c0a9b59c4ef591f46f7624dfe687c2bb0a6c (patch)
tree4b78af6f79fb9de2a712ac6268059bf838000a40 /tests/pidfd_test.cpp
parent987dccb5f063052171fae7a59cbf9fca808f8f80 (diff)
parent4626df89bfb561fc06d805e04d040a15f378919f (diff)
Merge SP1A.210425.001
Change-Id: If71c56f3e2e9fbbeffc7096a560a5ef8b8cd8566
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__)