diff options
author | Simon McVittie <smcv@debian.org> | 2016-05-17 09:01:57 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-17 17:59:23 +0200 |
commit | 70e70d2f6a23fadc192d9f97067fe48a28b4e6f2 (patch) | |
tree | 871151d382a8568cb14f3a34209353101a9ad1bd | |
parent | 48286324569a1d11b1f0c059b14177ff5918c392 (diff) | |
download | xdg-app-70e70d2f6a23fadc192d9f97067fe48a28b4e6f2.tar.gz |
test-doc-portal: rely on service activation to start D-Bus service
This is a more realistic integration test anyway.
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r-- | tests/test-doc-portal.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test-doc-portal.c b/tests/test-doc-portal.c index 8ca2164..5daa3b2 100644 --- a/tests/test-doc-portal.c +++ b/tests/test-doc-portal.c @@ -334,7 +334,6 @@ global_setup (void) gboolean inited; g_autofree gchar *fusermount = NULL; GError *error = NULL; - gint exit_status; g_autofree gchar *services = NULL; fusermount = g_find_program_in_path ("fusermount"); @@ -360,10 +359,6 @@ global_setup (void) /* g_test_dbus_up unsets this, so re-set */ g_setenv ("XDG_RUNTIME_DIR", outdir, TRUE); - g_spawn_command_line_sync (DOC_PORTAL " -d", NULL, NULL, &exit_status, &error); - g_assert_no_error (error); - g_assert_cmpint (exit_status, ==, 0); - session_bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error); g_assert_no_error (error); |