Death test bug
When running "make -j16 check" with the following modules loaded,
tests with EXPECT_DEATH_IF_SUPPORTED(...) would throw the following error:
Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 3 threads.
The google test documents suggest using
::testing::FLAGS_gtest_death_test_style = "threadsafe";
to solve this issue.
See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more info.