[libvirt PATCH v2 0/1] tests: Introduce virhostdevmock

Andrea Bolognani abologna at redhat.com
Wed May 6 12:54:05 UTC 2020


Changes from [v1]:

  * move function to a separate mock library;
  * load mock library for all tests that use virHostdevManager.

[v1] https://www.redhat.com/archives/libvir-list/2020-May/msg00020.html

Andrea Bolognani (1):
  tests: Introduce virhostdevmock

 tests/Makefile.am       |  7 +++++++
 tests/qemuhotplugtest.c |  1 +
 tests/virhostdevmock.c  | 29 +++++++++++++++++++++++++++++
 tests/virhostdevtest.c  |  4 +++-
 4 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 tests/virhostdevmock.c

-- 
2.25.4





More information about the libvir-list mailing list