Cover function `user_bus_open` from `libbluechi/bus/bus.c` by tests
Closed this issue · 3 comments
mwperina commented
Cover function user_bus_open by unit or integration tests
engelmi commented
Could it be covered this along with
-u
/--user
test for bluechi #787 ?
For bluechi-agent
yes. For bluechi-controller
, however, it is set at compile-time. But for the test of using the user bus, this should be fine. For root
the user bus isn't set as far as I remember, so this might be difficult to test.
mwperina commented
I think testing with bluechi-agent is enough, user bus should not be used in production anyway