1. 19 12月, 2013 1 次提交
    • C
      Fix crash in virsystemdtest with dbus 1.7.6 · 5e397d9c
      Cédric Bosdonnat 提交于
      D-bus introduced some changes in its locking code. Overriding the init
      function skips the new locking init and thus crashes later in libvirt
      test. Removing the function makes the test pass again.
      5e397d9c
  2. 20 9月, 2013 1 次提交
  3. 11 9月, 2013 1 次提交
  4. 30 8月, 2013 1 次提交
  5. 09 8月, 2013 1 次提交
    • 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
  6. 30 7月, 2013 1 次提交
    • E
      build: skip systemd mock on non-Linux · 524f52c3
      Eric Blake 提交于
      A cross-compile to mingw failed:
      
        CC       virsystemdmock_la-virsystemdmock.lo
      ../../tests/virsystemdmock.c:29:6: error: 'dbus_connection_set_change_sigpipe' redeclared without dllimport attribute: previous dllimport ignored [-Werror=attributes]
       void dbus_connection_set_change_sigpipe(dbus_bool_t will_modify_sigpipe ATTRIBUTE_UNUSED)
            ^
      
      But when you think about it, systemd is Linux-only, and even our
      use of LD_PRELOAD to provide mock syscalls is Linux-only.
      
      * tests/virsystemdmock.c: Avoid compilation outside Linux.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      524f52c3
  7. 24 7月, 2013 1 次提交
  8. 22 7月, 2013 1 次提交