From: Simon McVittie Date: Mon, 11 May 2015 15:34:35 +0000 (+0100) Subject: GTestDBus: use g_printerr() for status message X-Git-Tag: 2.45.2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4865538ce3d93dda802d25cbf93743e842507c5f;p=platform%2Fupstream%2Fglib.git 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 Signed-off-by: Simon McVittie --- diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c index 4af270b..c7065ae 100644 --- a/gio/gtestdbus.c +++ b/gio/gtestdbus.c @@ -183,7 +183,7 @@ watch_parent (gint fd) for (n = 0; n < pids_to_kill->len; 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); }