[glib/mcatanzaro/glib-2-56-rhel8: 1/45] gdbus unix addresses test: don't g_debug when also testing stdout




commit 906f65da2a0b19f1c17f0fe88bedfd34ff6e8080
Author: Ray Strode <rstrode redhat com>
Date:   Mon Dec 17 14:36:07 2018 -0500

    gdbus unix addresses test: don't g_debug when also testing stdout
    
    At the moment the gdbus-unix-addresses test will fail if
    G_MESSAGES_DEBUG is set, since the test checks stdout, and the
    test has a g_debug call.
    
    This commit drops the g_debug call, which isn't that useful anyway.

 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]