chiark / gitweb /
kdbus: make our little test pass cleanly again
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Apr 2013 20:51:23 +0000 (22:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Apr 2013 20:51:23 +0000 (22:51 +0200)
src/libsystemd-bus/test-bus-kernel.c

index 8266272..af82466 100644 (file)
@@ -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");