From: Peter Krempa Date: Tue, 21 Sep 2021 17:17:25 +0000 (+0200) Subject: qemuxml2argvtest: Remove 'disk-usb-nosupport' case X-Git-Tag: v7.8.0-rc1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13234081513684c8c0658c3625dd72e621f00818;p=thirdparty%2Flibvirt.git qemuxml2argvtest: Remove 'disk-usb-nosupport' case In effor to convert all test cases to real capability testing, this test doesn't make sense any more as even the oldest QEMU supported supports USB storage. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/qemuxml2argvdata/disk-usb-nosupport.err b/tests/qemuxml2argvdata/disk-usb-nosupport.err deleted file mode 100644 index 87e8a9dec3..0000000000 --- a/tests/qemuxml2argvdata/disk-usb-nosupport.err +++ /dev/null @@ -1 +0,0 @@ -unsupported configuration: This QEMU doesn't support '-device usb-storage' diff --git a/tests/qemuxml2argvdata/disk-usb-nosupport.xml b/tests/qemuxml2argvdata/disk-usb-nosupport.xml deleted file mode 100644 index b88ecf1935..0000000000 --- a/tests/qemuxml2argvdata/disk-usb-nosupport.xml +++ /dev/null @@ -1,35 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i386 - - - - -
- - - - - - - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 6ec486bdfc..fa58c7d0ef 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1376,7 +1376,6 @@ mymain(void) DO_TEST_PARSE_ERROR("disk-device-lun-type-invalid", QEMU_CAPS_VIRTIO_SCSI); DO_TEST_CAPS_LATEST_PARSE_ERROR("disk-attaching-partition-nosupport"); - DO_TEST_PARSE_ERROR_NOCAPS("disk-usb-nosupport"); DO_TEST("disk-usb-device", QEMU_CAPS_DEVICE_USB_STORAGE); DO_TEST("disk-usb-device-removable",