]> xenbits.xensource.com Git - people/dariof/libvirt.git/commit
tests: work with older dbus
authorEric Blake <eblake@redhat.com>
Thu, 8 Aug 2013 19:00:03 +0000 (13:00 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 8 Aug 2013 22:33:55 +0000 (16:33 -0600)
commitedfae3dccf5eceeb86e1c4304dca8a8ed0f74e57
tree5ffc4c60f43aa631398058b18cf5a7a50e2dfbf2
parent26b8a4dd23716f42f6e3fd5ff41fba30598689e5
tests: work with older dbus

On RHEL 5, with dbus 1.1.2, compilation failed with:

virsystemdmock.c: In function 'dbus_connection_send_with_reply_and_block':
virsystemdmock.c:68: warning: implicit declaration of function 'dbus_message_set_serial'

Fix this by instead bypassing all attempts to use a dbus serial.

* tests/virsystemdmock.c (dbus_message_set_reply_serial): Add new
override.
(dbus_connection_send_with_reply_and_block): No longer bother with
the serial.

Signed-off-by: Eric Blake <eblake@redhat.com>
tests/virsystemdmock.c