summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-12 21:45:14 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-12 21:45:14 +0200
commited7d0b225bde939b552ca9493edf8642530fe9c1 (patch)
tree2b87b7ba85ebc5b2126a3becfccdb769590bb754 /src/libsystemd-bus
parentcfde0327ad83f1a31597cd8eb83e97f541d2f2db (diff)
kdbus: use a valid service name for testing
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r--src/libsystemd-bus/test-bus-kernel.c8
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);