unix test fails on macOS due to alternate signal stack changes
The macOS CI fails since !3983 (merged) landed:
116/327 glib:glib+core / unix ERROR 0.13s killed by signal 6 SIGABRT
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
**
GLib:ERROR:../glib/tests/unix.c:523:test_signal: 'action.sa_flags & SA_NOCLDSTOP' should be TRUE
(test program exited with status code -6)
Should we really always be expecting SA_NOCLDSTOP
to be set, regardless of the signal? sigaction(2)
says it’s “meaningful only when establishing a handler for SIGCHLD
”. Perhaps macOS masks out that flag for sigaction structs which aren’t for SIGCHLD
?