[glib: 1/2] Fix failing gdbus-unix-addresses test when G_MESSAGES_DEBUG is set
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] Fix failing gdbus-unix-addresses test when G_MESSAGES_DEBUG is set
- Date: Fri, 1 Jun 2018 15:32:38 +0000 (UTC)
commit f929d14826b165954b7a32a9539af8e024c22e21
Author: Xavier Claessens <xavier claessens collabora com>
Date: Fri Jun 1 10:22:03 2018 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]