From e91c2a4fe4ede894d1cf54f9dbd9ba7a630d910c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 19 Sep 2017 14:17:57 +0200 Subject: [PATCH] tests: change dbus tests to use user bus (#6845) This makes it possible to run more dbus tests in a build environment/chroot where no system bus is available. To run the dbus test one then can use dbus-run-session. --- src/libelogind/sd-bus/test-bus-match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libelogind/sd-bus/test-bus-match.c b/src/libelogind/sd-bus/test-bus-match.c index 29c4529f9..8fd9d03dd 100644 --- a/src/libelogind/sd-bus/test-bus-match.c +++ b/src/libelogind/sd-bus/test-bus-match.c @@ -94,7 +94,7 @@ int main(int argc, char *argv[]) { sd_bus_slot slots[19]; int r; - r = sd_bus_open_system(&bus); + r = sd_bus_open_user(&bus); if (r < 0) return EXIT_TEST_SKIP; -- 2.30.2