diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dtypes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index 1565888..5f1e25a 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -221,6 +221,8 @@ generates_sigfpe(void) } else if (WIFSIGNALED(status) && SIGFPE==WTERMSIG(status)) { puts("Floating-point overflow cases cannot be safely tested."); skip_overflow_tests_g = TRUE; + /* delete the core dump file that SIGFPE may have created */ + unlink("core"); } #else puts("Cannot determine if floating-point overflows generate a SIGFPE;"); |