[PATCH 03/15] qemuxml2argvtest: Drop cpu-numa-memshared-1 test case

Michal Privoznik mprivozn at redhat.com
Thu Nov 3 16:22:01 UTC 2022


The aim of this test case it to make sure we error out when
QEMU_CAPS_OBJECT_MEMORY_RAM is missing. Well, it's never going to
be missing. Drop the test case.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 tests/qemuxml2argvdata/cpu-numa-memshared-1.err | 1 -
 tests/qemuxml2argvdata/cpu-numa-memshared-1.xml | 1 -
 tests/qemuxml2argvtest.c                        | 1 -
 3 files changed, 3 deletions(-)
 delete mode 100644 tests/qemuxml2argvdata/cpu-numa-memshared-1.err
 delete mode 120000 tests/qemuxml2argvdata/cpu-numa-memshared-1.xml

diff --git a/tests/qemuxml2argvdata/cpu-numa-memshared-1.err b/tests/qemuxml2argvdata/cpu-numa-memshared-1.err
deleted file mode 100644
index ad98a2162e..0000000000
--- a/tests/qemuxml2argvdata/cpu-numa-memshared-1.err
+++ /dev/null
@@ -1 +0,0 @@
-unsupported configuration: Shared memory mapping is not supported with this QEMU
diff --git a/tests/qemuxml2argvdata/cpu-numa-memshared-1.xml b/tests/qemuxml2argvdata/cpu-numa-memshared-1.xml
deleted file mode 120000
index 288045dce3..0000000000
--- a/tests/qemuxml2argvdata/cpu-numa-memshared-1.xml
+++ /dev/null
@@ -1 +0,0 @@
-cpu-numa-memshared.xml
\ No newline at end of file
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 227493fe32..148d6b439e 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -1910,7 +1910,6 @@ mymain(void)
     DO_TEST_PARSE_ERROR_NOCAPS("cpu-numa-disjoint");
     DO_TEST("cpu-numa-disjoint", QEMU_CAPS_NUMA);
     DO_TEST_FAILURE("cpu-numa-memshared", QEMU_CAPS_OBJECT_MEMORY_RAM);
-    DO_TEST_PARSE_ERROR_NOCAPS("cpu-numa-memshared-1");
     DO_TEST("cpu-numa-memshared", QEMU_CAPS_OBJECT_MEMORY_FILE);
     DO_TEST("cpu-host-model",
             QEMU_CAPS_DEVICE_PCI_BRIDGE,
-- 
2.37.4



More information about the libvir-list mailing list