diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-12 21:45:14 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-12 21:45:14 +0200 |
commit | ed7d0b225bde939b552ca9493edf8642530fe9c1 (patch) | |
tree | 2b87b7ba85ebc5b2126a3becfccdb769590bb754 | |
parent | cfde0327ad83f1a31597cd8eb83e97f541d2f2db (diff) |
kdbus: use a valid service name for testing
-rw-r--r-- | src/libsystemd-bus/test-bus-kernel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd-bus/test-bus-kernel.c b/src/libsystemd-bus/test-bus-kernel.c index 19fae1dd72..8266272ac2 100644 --- a/src/libsystemd-bus/test-bus-kernel.c +++ b/src/libsystemd-bus/test-bus-kernel.c @@ -88,10 +88,10 @@ int main(int argc, char *argv[]) { sd_bus_message_unref(m); m = NULL; - r = sd_bus_request_name(a, "net.0pointer.foobar", 0); + r = sd_bus_request_name(a, "net.x0pointer.foobar", 0); assert_se(r >= 0); - r = sd_bus_message_new_method_call(b, "net.0pointer.foobar", "/a/path", "an.inter.face", "AMethod", &m); + r = sd_bus_message_new_method_call(b, "net.x0pointer.foobar", "/a/path", "an.inter.face", "AMethod", &m); assert_se(r >= 0); r = sd_bus_send(b, m, NULL); @@ -108,10 +108,10 @@ int main(int argc, char *argv[]) { assert_se(sd_bus_message_rewind(m, true) >= 0); } - r = sd_bus_release_name(a, "net.0pointer.foobar"); + r = sd_bus_release_name(a, "net.x0pointer.foobar"); assert_se(r >= 0); - r = sd_bus_release_name(a, "net.0pointer.foobar"); + r = sd_bus_release_name(a, "net.x0pointer.foobar"); assert_se(r == -ENXIO); sd_bus_unref(a); |