summaryrefslogtreecommitdiff
path: root/test/core/test-dbus-glib.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-09-22 19:04:23 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-10-21 12:37:45 +0100
commit27b65f054da59f2ce660af6b1c3ecdc2647c07bd (patch)
tree500729588265c30769f8ce2856c3fdd61597302a /test/core/test-dbus-glib.c
parentf3538c4210447c572aa82cb2eb0305ef7f70b2b3 (diff)
downloaddbus-glib-27b65f054da59f2ce660af6b1c3ecdc2647c07bd.tar.gz
Separate the test for shared-bus equivalence into its own binary
When valgrinding tests it's useful to avoid using the shared bus, which cannot be closed. Move all the essential shared-bus use into a test which can be treated specially. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41129 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'test/core/test-dbus-glib.c')
-rw-r--r--test/core/test-dbus-glib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/core/test-dbus-glib.c b/test/core/test-dbus-glib.c
index ffc2ae9..1b8c3fc 100644
--- a/test/core/test-dbus-glib.c
+++ b/test/core/test-dbus-glib.c
@@ -549,11 +549,6 @@ main (int argc, char **argv)
if (connection == NULL)
lose_gerror ("Failed to open connection to bus", error);
- /* should always get the same one */
- g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
- g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
- g_assert (connection == dbus_g_bus_get (DBUS_BUS_SESSION, NULL));
-
/* Create a proxy object for the "bus driver" */
driver = dbus_g_proxy_new_for_name (connection,