]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Rename pseries-features-hpt test
authorAndrea Bolognani <abologna@redhat.com>
Thu, 1 Mar 2018 17:13:23 +0000 (18:13 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 21 Mar 2018 16:59:24 +0000 (17:59 +0100)
We're going to use the same test case to exercise all optional
pSeries features, so a more generic name is needed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemuxml2argvdata/pseries-features.args [moved from tests/qemuxml2argvdata/pseries-features-hpt.args with 100% similarity]
tests/qemuxml2argvdata/pseries-features.xml [moved from tests/qemuxml2argvdata/pseries-features-hpt.xml with 100% similarity]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/pseries-features-hpt.xml [deleted symlink]
tests/qemuxml2xmloutdata/pseries-features.xml [new symlink]
tests/qemuxml2xmltest.c

index f6a90c281459976dc396a1019592f7c5b25d6316..5ece3f0cc61497e500e25c7a82c08692554cb94d 100644 (file)
@@ -1915,11 +1915,11 @@ mymain(void)
             QEMU_CAPS_VIRTIO_SCSI,
             QEMU_CAPS_DEVICE_VFIO_PCI);
 
-    DO_TEST("pseries-features-hpt",
+    DO_TEST("pseries-features",
             QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
             QEMU_CAPS_MACHINE_OPT,
             QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);
-    DO_TEST_FAILURE("pseries-features-hpt",
+    DO_TEST_FAILURE("pseries-features",
                     QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
                     QEMU_CAPS_MACHINE_OPT);
     DO_TEST_PARSE_ERROR("pseries-features-invalid-machine", NONE);
diff --git a/tests/qemuxml2xmloutdata/pseries-features-hpt.xml b/tests/qemuxml2xmloutdata/pseries-features-hpt.xml
deleted file mode 120000 (symlink)
index bcaf2e6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../qemuxml2argvdata/pseries-features-hpt.xml
\ No newline at end of file
diff --git a/tests/qemuxml2xmloutdata/pseries-features.xml b/tests/qemuxml2xmloutdata/pseries-features.xml
new file mode 120000 (symlink)
index 0000000..1b01dba
--- /dev/null
@@ -0,0 +1 @@
+../qemuxml2argvdata/pseries-features.xml
\ No newline at end of file
index 28ba46efb2bc1089df899367bdbe1c53b2be9405..f808608b6e05d93c6b9d279db818ec1634902e78 100644 (file)
@@ -624,7 +624,7 @@ mymain(void)
             QEMU_CAPS_VIRTIO_SCSI,
             QEMU_CAPS_DEVICE_VFIO_PCI);
 
-    DO_TEST("pseries-features-hpt",
+    DO_TEST("pseries-features",
             QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
             QEMU_CAPS_MACHINE_OPT,
             QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);