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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux