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

Andrea Bolognani posted 8 patches 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180430165303.6124-1-abologna@redhat.com
Test syntax-check passed
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(-)
[libvirt] [PATCH v2 0/8] tests: Mostly fix 'make check' on FreeBSD
Posted by Andrea Bolognani 5 years, 11 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list