summaryrefslogtreecommitdiff
path: root/tests/stdio_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-04-09 17:13:09 -0700
committerElliott Hughes <enh@google.com>2021-04-12 10:01:20 -0700
commit141b917018048c5fda567785740dfaaf38e66f1e (patch)
tree144416c96d8e3d1406ed78d8221a72a174317d80 /tests/stdio_test.cpp
parent999d82e51d8b96c622ecb63c69b56e7e7753e47d (diff)
Switch to libbase SilentDeathTest.
Bug: http://b/184955378 Test: treehugger Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2
Diffstat (limited to 'tests/stdio_test.cpp')
-rw-r--r--tests/stdio_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/stdio_test.cpp b/tests/stdio_test.cpp
index 5491589a5..5736e1787 100644
--- a/tests/stdio_test.cpp
+++ b/tests/stdio_test.cpp
@@ -33,10 +33,10 @@
#include <vector>
#include <android-base/file.h>
+#include <android-base/silent_death_test.h>
#include <android-base/test_utils.h>
#include <android-base/unique_fd.h>
-#include "BionicDeathTest.h"
#include "utils.h"
// This #include is actually a test too. We have to duplicate the
@@ -56,8 +56,8 @@
using namespace std::string_literals;
-using stdio_DeathTest = BionicDeathTest;
-using stdio_nofortify_DeathTest = BionicDeathTest;
+using stdio_DeathTest = SilentDeathTest;
+using stdio_nofortify_DeathTest = SilentDeathTest;
static void SetFileTo(const char* path, const char* content) {
FILE* fp;