mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
GTestDBus: use g_printerr() for status message
This avoids any possibility of interfering with test syntax (such as TAP) on stdout. TAP specifically does not parse stderr. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=725981 Reviewed-by: Colin Walters <walters@verbum.org> Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
472dee3909
commit
4865538ce3
@ -183,7 +183,7 @@ watch_parent (gint fd)
|
|||||||
for (n = 0; n < pids_to_kill->len; n++)
|
for (n = 0; n < pids_to_kill->len; n++)
|
||||||
{
|
{
|
||||||
pid = g_array_index (pids_to_kill, guint, n);
|
pid = g_array_index (pids_to_kill, guint, n);
|
||||||
g_print ("cleaning up pid %d\n", pid);
|
g_printerr ("cleaning up pid %d\n", pid);
|
||||||
kill (pid, SIGTERM);
|
kill (pid, SIGTERM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user