diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sighook.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sighook.c b/tests/sighook.c index 3a715e6..ba1c424 100644 --- a/tests/sighook.c +++ b/tests/sighook.c @@ -216,5 +216,9 @@ void check_sighook(void) { check_sigexit(SIGINT); check_sigexit(SIGQUIT); check_sigexit(SIGPIPE); + + // macOS cannot distinguish between sync and async SIG{BUS,ILL,SEGV} +#if !__APPLE__ check_sigexit(SIGSEGV); +#endif } |