diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-04-12 01:45:18 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-04-12 01:45:18 +0200 |
commit | f9be01f3b4784affa269694a4f5cdcb87f06f2f7 (patch) | |
tree | 7518d4e42dba9dba5bb6663a3a4bb7a1c17cd824 /src/libsystemd-bus/test-bus-kernel.c | |
parent | e9a967f9a0e9b2bf705a776c34635e6d1df73f1b (diff) |
bus: parse uid/gid/pid/tid meta data from kdbus messages
Diffstat (limited to 'src/libsystemd-bus/test-bus-kernel.c')
-rw-r--r-- | src/libsystemd-bus/test-bus-kernel.c | 3 |
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 4c599788fe..9b2ee7d5a7 100644 --- a/src/libsystemd-bus/test-bus-kernel.c +++ b/src/libsystemd-bus/test-bus-kernel.c @@ -75,6 +75,9 @@ int main(int argc, char *argv[]) { assert_se(r > 0); assert_se(m); + bus_message_dump(m); + assert_se(sd_bus_message_rewind(m, true) >= 0); + r = sd_bus_message_read(m, "s", &the_string); assert_se(r >= 0); assert_se(streq(the_string, "I am a string")); |