]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: securityselinuxlabel: Add QEMU_CAPS_VNC to fake qemuCaps
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 Dec 2019 09:02:10 +0000 (10:02 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Dec 2019 09:03:35 +0000 (10:03 +0100)
In commit 45270337f057f26ce484f6e forgot to make sure that tests pass.
Add the missing capability to fix the test.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
tests/securityselinuxlabeltest.c

index 192f2dc84fd78bf80b2378c0088c877f0d1c0e89..3040a36693d49e4041009f01c213e7e3b2376b7b 100644 (file)
@@ -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;