• E
    tests: work with older dbus · edfae3dc
    Eric Blake 提交于
    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: NEric Blake <eblake@redhat.com>
    edfae3dc
virsystemdmock.c 3.1 KB