mirror of https://gitee.com/openkylin/libvirt.git
tests: securityselinuxlabel: Add QEMU_CAPS_VNC to fake qemuCaps
In commit 45270337f0
forgot to make sure that tests pass.
Add the missing capability to fix the test.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
6f894a29d8
commit
a9fdcb0b78
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue