[libvirt] [PATCH] tests: securityselinuxlabel: Add QEMU_CAPS_VNC to fake qemuCaps

Peter Krempa pkrempa at redhat.com
Tue Dec 17 09:04:56 UTC 2019


In commit 45270337f057f26ce484f6e forgot to make sure that tests pass.
Add the missing capability to fix the test.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---

Pushed.

 tests/securityselinuxlabeltest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/securityselinuxlabeltest.c b/tests/securityselinuxlabeltest.c
index 192f2dc84f..3040a36693 100644
--- a/tests/securityselinuxlabeltest.c
+++ b/tests/securityselinuxlabeltest.c
@@ -351,6 +351,7 @@ mymain(void)
         return EXIT_FAILURE;

     virQEMUCapsSet(qemuCaps, QEMU_CAPS_DEVICE_CIRRUS_VGA);
+    virQEMUCapsSet(qemuCaps, QEMU_CAPS_VNC);

     if (qemuTestCapsCacheInsert(driver.qemuCapsCache, qemuCaps) < 0)
         return EXIT_FAILURE;
-- 
2.23.0




More information about the libvir-list mailing list