summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-12 22:51:23 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-12 22:51:23 +0200
commit2da833ac2d91abc6b4e3fa613b7eebbaba76144a (patch)
tree6cfcbd350d84cdda169abe99a0cfe0c914b64fc3
parentb5baa8fe8838870cc2bd7cef0949299f061ae15d (diff)
kdbus: make our little test pass cleanly again
-rw-r--r--src/libsystemd-bus/test-bus-kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-bus/test-bus-kernel.c b/src/libsystemd-bus/test-bus-kernel.c
index 8266272ac2..af82466b36 100644
--- a/src/libsystemd-bus/test-bus-kernel.c
+++ b/src/libsystemd-bus/test-bus-kernel.c
@@ -106,6 +106,9 @@ int main(int argc, char *argv[]) {
bus_message_dump(m);
assert_se(sd_bus_message_rewind(m, true) >= 0);
+
+ if (sd_bus_message_is_method_call(m, "an.inter.face", "AMethod"))
+ break;
}
r = sd_bus_release_name(a, "net.x0pointer.foobar");