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

Andrea Bolognani posted 1 patch 3 years, 11 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200506125406.599106-1-abologna@redhat.com
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
[libvirt PATCH v2 0/1] tests: Introduce virhostdevmock
Posted by Andrea Bolognani 3 years, 11 months ago
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