mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02: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:
@@ -165,7 +165,7 @@ test_closure_fd (void)
|
||||
static gboolean
|
||||
send_usr1 (gpointer user_data)
|
||||
{
|
||||
kill (0, SIGUSR1);
|
||||
kill (getpid (), SIGUSR1);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user