Commit ed7d0b22 authored by Lennart Poettering's avatar Lennart Poettering

kdbus: use a valid service name for testing

parent cfde0327
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment