[PATCH 06/20] qemuxml2argvtest: Remove negative case for 'luks-disks-source-qcow2'

Peter Krempa pkrempa at redhat.com
Wed Sep 22 13:02:15 UTC 2021


Currently we no longer support qemus which would miss the necessary
capability, thus the test can't be converted to DO_TEST_CAPS_LATEST.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/qemuxml2argvdata/luks-disks-source-qcow2.err | 1 -
 tests/qemuxml2argvtest.c                           | 1 -
 2 files changed, 2 deletions(-)
 delete mode 100644 tests/qemuxml2argvdata/luks-disks-source-qcow2.err

diff --git a/tests/qemuxml2argvdata/luks-disks-source-qcow2.err b/tests/qemuxml2argvdata/luks-disks-source-qcow2.err
deleted file mode 100644
index 3c9f70a04a..0000000000
--- a/tests/qemuxml2argvdata/luks-disks-source-qcow2.err
+++ /dev/null
@@ -1 +0,0 @@
-unsupported configuration: LUKS encrypted QCOW2 images are not supported by this QEMU
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index ce618a2f22..6ec486bdfc 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -1455,7 +1455,6 @@ mymain(void)
     DO_TEST("encrypted-disk-usage", QEMU_CAPS_QCOW2_LUKS);
     DO_TEST_NOCAPS("luks-disks");
     DO_TEST_NOCAPS("luks-disks-source");
-    DO_TEST_PARSE_ERROR_NOCAPS("luks-disks-source-qcow2");
     DO_TEST("luks-disks-source-qcow2", QEMU_CAPS_QCOW2_LUKS);
     DO_TEST_CAPS_VER("luks-disks-source-qcow2", "5.2.0");
     DO_TEST_CAPS_LATEST("luks-disks-source-qcow2");
-- 
2.31.1




More information about the libvir-list mailing list