chiark / gitweb /
bus: don't rely on static IDs in tests
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 17 Feb 2015 17:03:50 +0000 (18:03 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 17 Feb 2015 17:16:07 +0000 (18:16 +0100)
commit4d2b1e0a3f98d8cf93beb943b05868b55231006a
treee6e55e6622e25751016fac4fc56a393335bf37c5
parent484122c3458ae5ff5236dd4a6e6ddffcffa08336
bus: don't rely on static IDs in tests

We should never put any constraints on the IDs returned by the kernel. Use
sd_bus_get_unique_name() to retrieve the ID of a peer.
src/libsystemd/sd-bus/test-bus-zero-copy.c