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:
Colin Walters 2013-07-22 15:11:13 +01:00
parent 00f5c63621
commit d9e01e0c37

View File

@ -165,7 +165,7 @@ test_closure_fd (void)
static gboolean
send_usr1 (gpointer user_data)
{
kill (0, SIGUSR1);
kill (getpid (), SIGUSR1);
return FALSE;
}