summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-kernel.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-20 00:21:56 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-20 10:13:38 +0200
commit86312ab8de59c1066d6d2b456f3a9106ce3e0991 (patch)
tree39b64999a9eae57ad0e767496f5f0347776f4701 /src/libsystemd-bus/test-bus-kernel.c
parentc78196699d3d805b2237896a1d2b8efeec6068d0 (diff)
bus: add a more comprehensive test for the bloom filter logic
Diffstat (limited to 'src/libsystemd-bus/test-bus-kernel.c')
-rw-r--r--src/libsystemd-bus/test-bus-kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/test-bus-kernel.c b/src/libsystemd-bus/test-bus-kernel.c
index 0a2457a6dc..680dcde5b4 100644
--- a/src/libsystemd-bus/test-bus-kernel.c
+++ b/src/libsystemd-bus/test-bus-kernel.c
@@ -92,8 +92,8 @@ int main(int argc, char *argv[]) {
printf("unique b: %s\n", ub);
- /* interface='waldo.com',member='Piep' */
- assert_se(sd_bus_add_match(b, "interface='waldo.com'", NULL, NULL) >= 0);
+ r = sd_bus_add_match(b, "interface='waldo.com',member='Piep'", NULL, NULL);
+ assert_se(r >= 0);
r = sd_bus_emit_signal(a, "/foo/bar/waldo", "waldo.com", "Piep", "sss", "I am a string", "/this/is/a/path", "and.this.a.domain.name");
assert_se(r >= 0);