diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-05-16 02:37:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-05-16 02:37:42 +0200 |
commit | 1307c3ff9aa9d96fff6f9f42bb760887fa9aa240 (patch) | |
tree | f8d937aa4b454af00628e1c6c008df996e0bb28f /src/libsystemd-bus/test-bus-zero-copy.c | |
parent | a392d36195f92eaa2d5b7c1d588ff8e52025a43a (diff) |
bus: implement receiving side of memfd hookup
Diffstat (limited to 'src/libsystemd-bus/test-bus-zero-copy.c')
-rw-r--r-- | src/libsystemd-bus/test-bus-zero-copy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libsystemd-bus/test-bus-zero-copy.c b/src/libsystemd-bus/test-bus-zero-copy.c index 0d8435ec1e..5a9f45489e 100644 --- a/src/libsystemd-bus/test-bus-zero-copy.c +++ b/src/libsystemd-bus/test-bus-zero-copy.c @@ -111,6 +111,12 @@ int main(int argc, char *argv[]) { sd_bus_message_unref(m); + r = sd_bus_process(a, &m); + assert_se(r > 0); + + bus_message_dump(m); + sd_bus_message_unref(m); + sd_bus_unref(a); sd_bus_unref(b); |