From: Peter Krempa Date: Fri, 11 Jun 2021 12:50:01 +0000 (+0200) Subject: qemuxml2argvtest: Use other bus capability for 'non-x86_64-timer-error' case X-Git-Tag: v7.5.0-rc1~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6b28c8128601a36ee2e18ba16aa36b00049f91;p=thirdparty%2Flibvirt.git qemuxml2argvtest: Use other bus capability for 'non-x86_64-timer-error' case Give the test QEMU_CAPS_CCW instead of QEMU_CAPS_VIRTIO_S390 since the latter can never be asserted any more. This preserves what the tests wants to check so that QEMU_CAPS_VIRTIO_S390 can be removed. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 73432284fa..752f96d82e 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1345,8 +1345,7 @@ mymain(void) QEMU_CAPS_DEVICE_ZPCI, QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390); - DO_TEST_PARSE_ERROR("non-x86_64-timer-error", - QEMU_CAPS_VIRTIO_S390); + DO_TEST_PARSE_ERROR("non-x86_64-timer-error", QEMU_CAPS_CCW); DO_TEST("disk-order", QEMU_CAPS_VIRTIO_BLK_SCSI); DO_TEST("disk-virtio-queues", QEMU_CAPS_VIRTIO_BLK_NUM_QUEUES);