mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
glib/tests/unix: Only check for SA_NOCLDSTOP on SIGCHLD
This commit is contained in:
parent
137db219a7
commit
8c842792a9
@ -520,7 +520,9 @@ test_signal (int signum)
|
||||
|
||||
g_assert_no_errno (sigaction (signum, NULL, &action));
|
||||
|
||||
g_assert_true (action.sa_flags & SA_NOCLDSTOP);
|
||||
if (signum == SIGCHLD)
|
||||
g_assert_true (action.sa_flags & SA_NOCLDSTOP);
|
||||
|
||||
#ifdef SA_RESTART
|
||||
g_assert_true (action.sa_flags & SA_RESTART);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user