projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f5c63
)
tests/closure: Send SIGUSR1 only to our pid
author
Colin Walters
<walters@verbum.org>
Mon, 22 Jul 2013 14:11:13 +0000
(15:11 +0100)
committer
Colin Walters
<walters@verbum.org>
Mon, 22 Jul 2013 14:14:34 +0000
(15:14 +0100)
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
patch
|
blob
|
history
diff --git
a/gobject/tests/closure.c
b/gobject/tests/closure.c
index
5f1a22c
..
8c32ee4
100644
(file)
--- 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;
}