test: use kdbus_msg_dump() to check for message integrity
authorDaniel Mack <daniel@zonque.org>
Wed, 22 Oct 2014 09:49:05 +0000 (11:49 +0200)
committerDaniel Mack <daniel@zonque.org>
Wed, 22 Oct 2014 09:55:45 +0000 (11:55 +0200)
commit85e373a37d6061e3e62dd96e38cf8abc2cf96225
tree5edea0d23204146f099f81b3c5551ab3811e80b6
parent0ca7881f1e19c8eee11d7495ffbaa5a6bd4e26e3
test: use kdbus_msg_dump() to check for message integrity

Make kdbus_msg_dump() return an error in case there's anything wrong
with the message. Return such errors from kdbus_msg_recv(). We currently
fail with notifications.

Signed-off-by: Daniel Mack <daniel@zonque.org>
test/kdbus-util.c
test/kdbus-util.h