chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f16c6a
)
tests: change dbus tests to use user bus (#6845)
author
Michael Biebl
<mbiebl@gmail.com>
Tue, 19 Sep 2017 12:17:57 +0000
(14:17 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 19 Sep 2017 12:17:57 +0000
(14:17 +0200)
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
patch
|
blob
|
history
diff --git
a/src/libelogind/sd-bus/test-bus-match.c
b/src/libelogind/sd-bus/test-bus-match.c
index 29c4529f95e0766a142e6f3441ee2510c71e18ee..8fd9d03ddf90b11c69e7f74d0ba9d6d632cbfc2a 100644
(file)
--- 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;