aboutsummaryrefslogtreecommitdiff
path: root/tests/fenv_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fenv_test.cpp')
-rw-r--r--tests/fenv_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fenv_test.cpp b/tests/fenv_test.cpp
index 89c7fd5c9..d49597091 100644
--- a/tests/fenv_test.cpp
+++ b/tests/fenv_test.cpp
@@ -202,6 +202,7 @@ TEST(fenv, feenableexcept_fegetexcept) {
ASSERT_NE(-1, pid) << strerror(errno);
if (pid == 0) {
+ signal(SIGFPE, SIG_DFL); // Disable debuggerd.
feclearexcept(FE_ALL_EXCEPT);
ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT));
ASSERT_EQ(0, feenableexcept(FE_INVALID));