summaryrefslogtreecommitdiff
path: root/test/uid-permissions.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/uid-permissions.c')
-rw-r--r--test/uid-permissions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/uid-permissions.c b/test/uid-permissions.c
index 4642ff37..24f6f725 100644
--- a/test/uid-permissions.c
+++ b/test/uid-permissions.c
@@ -238,6 +238,8 @@ int
main (int argc,
char **argv)
{
+ int ret;
+
test_init (&argc, &argv);
/* UpdateActivationEnvironment used to be allowed by dbus-daemon for root
@@ -257,5 +259,7 @@ main (int argc,
g_test_add ("/uid-permissions/monitor/other", Fixture, &other_fail_config,
setup, test_monitor, teardown);
- return g_test_run ();
+ ret = g_test_run ();
+ dbus_shutdown ();
+ return ret;
}