From f929d14826b165954b7a32a9539af8e024c22e21 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 1 Jun 2018 10:22:03 -0400 Subject: [PATCH] Fix failing gdbus-unix-addresses test when G_MESSAGES_DEBUG is set This test assumes the subprocess does not print anything else on stdout other than the dbus address, otherwise g_test_trap_assert_stdout() fails to match. But if the env running tests has G_MESSAGES_DEBUG=all then it will also print "PATH=%s". --- gio/tests/gdbus-unix-addresses.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gio/tests/gdbus-unix-addresses.c b/gio/tests/gdbus-unix-addresses.c index 8b58513a8..746a7c2a7 100644 --- a/gio/tests/gdbus-unix-addresses.c +++ b/gio/tests/gdbus-unix-addresses.c @@ -106,7 +106,6 @@ set_up_mock_dbus_launch (void) { path = g_strconcat (g_test_get_dir (G_TEST_BUILT), ":", g_getenv ("PATH"), NULL); - g_debug ("PATH=%s", path); g_setenv ("PATH", path, TRUE); /* libdbus won't even try X11 autolaunch if DISPLAY is unset; GDBus