[libvirt] [PATCH v2 0/8] tests: Mostly fix 'make check' on FreeBSD

Andrea Bolognani abologna at redhat.com
Mon Apr 30 16:52:55 UTC 2018


Changes from [v1]:

* drop the virnetsockettest changes, since the relationship
  between the errors seen on FreeBSD and IPv4 clients connecting
  to IPv6 sockets has turned out to be just a red herring;

* fix the mocking instead of dropping test cases that don't work
  without it.


[v1] https://www.redhat.com/archives/libvir-list/2018-April/msg02611.html

Andrea Bolognani (8):
  test: Introduce VIR_MOCK_REAL_INIT_VERSIONED()
  tests: Mock realpath()
  all: Use realpath() instead of canonicalize_file_name()
  tests: Stop mocking canonicalize_file_name()
  gnulib: Drop canonicalize-lgpl module
  syntax-check: Prohibit canonicalize_file_name()
  tests: Fix mode_t usage with va_arg()
  tests: Build virpcimock on non-Linux

 bootstrap.conf                   |   1 -
 cfg.mk                           |  10 ++++
 src/storage/storage_backend_fs.c |   2 +-
 src/util/virfile.c               |   2 +-
 src/util/virpci.c                |   2 +-
 tests/virmock.h                  |  13 +++++
 tests/virpcimock.c               | 118 +++++++++++++++++++++++----------------
 tests/virstoragetest.c           |  10 ++--
 tests/virtestmock.c              |  13 ++---
 9 files changed, 107 insertions(+), 64 deletions(-)

-- 
2.14.3




More information about the libvir-list mailing list