mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 21:03:10 +02: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_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
|
#ifdef SA_RESTART
|
||||||
g_assert_true (action.sa_flags & SA_RESTART);
|
g_assert_true (action.sa_flags & SA_RESTART);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user