From d9e01e0c37eb7928a99aeaa3d51007198991928d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 22 Jul 2013 15:11:13 +0100 Subject: [PATCH] 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. --- gobject/tests/closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/tests/closure.c b/gobject/tests/closure.c index 5f1a22c..8c32ee4 100644 --- a/gobject/tests/closure.c +++ b/gobject/tests/closure.c @@ -165,7 +165,7 @@ test_closure_fd (void) static gboolean send_usr1 (gpointer user_data) { - kill (0, SIGUSR1); + kill (getpid (), SIGUSR1); return FALSE; } -- 2.7.4