[libvirt] [PATCH v2 05/29] tests: qemuxml2xml: Use virdeterministichashmock.so

Peter Krempa pkrempa at redhat.com
Fri Mar 22 18:00:41 UTC 2019


Block job related data will be stored in a has table and formatted into
the status XML. Use the mock to guarantee stable tests.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/qemuxml2xmltest.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 83a0d1cf7b..408d20a92a 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -1305,7 +1305,8 @@ mymain(void)

 VIR_TEST_MAIN_PRELOAD(mymain,
                       abs_builddir "/.libs/virpcimock.so",
-                      abs_builddir "/.libs/virrandommock.so")
+                      abs_builddir "/.libs/virrandommock.so",
+                      abs_builddir "/.libs/virdeterministichashmock.so")

 #else

-- 
2.20.1




More information about the libvir-list mailing list