mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
tests/closure: Send SIGUSR1 only to our pid
Otherwise in e.g. the gnome-ostree integrationtest system, we end up sending SIGUSR1 to the *entire session*, which triggers various badness in untested debugging paths from gnome-session.
This commit is contained in:
parent
00f5c63621
commit
d9e01e0c37
@ -165,7 +165,7 @@ test_closure_fd (void)
|
|||||||
static gboolean
|
static gboolean
|
||||||
send_usr1 (gpointer user_data)
|
send_usr1 (gpointer user_data)
|
||||||
{
|
{
|
||||||
kill (0, SIGUSR1);
|
kill (getpid (), SIGUSR1);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user