summaryrefslogtreecommitdiffstats
path: root/src/test/ceph_crypto.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ceph_crypto.cc')
-rw-r--r--src/test/ceph_crypto.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ceph_crypto.cc b/src/test/ceph_crypto.cc
index 2c934fa848c..11d410182a4 100644
--- a/src/test/ceph_crypto.cc
+++ b/src/test/ceph_crypto.cc
@@ -135,6 +135,8 @@ void do_simple_crypto() {
exit(0);
}
+#if GTEST_HAS_DEATH_TEST
TEST_F(ForkDeathTest, MD5) {
ASSERT_EXIT(do_simple_crypto(), ::testing::ExitedWithCode(0), "^$");
}
+#endif //GTEST_HAS_DEATH_TEST