You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/test/os-test.cc b/test/os-test.cc
index 44a2988f..2615c317 100644
--- a/test/os-test.cc
+++ b/test/os-test.cc
@@ -269,6 +269,8 @@ TEST(BufferedFileTest, CloseError) {
TEST(BufferedFileTest, Fileno) {
buffered_file f;
# ifndef __COVERITY__
+ // disable warning Death tests use fork(), which is unsafe
+ ::testing::FLAGS_gtest_death_test_style = "threadsafe";
// fileno on a null FILE pointer either crashes or returns an error.
// Disable Coverity because this is intentional.
EXPECT_DEATH_IF_SUPPORTED(
The text was updated successfully, but these errors were encountered:
better to be all green
The text was updated successfully, but these errors were encountered: