[libvirt] [PATCH 1/5] tests: qemuxml2argv: fix expected type for usb-bus-missing
Pino Toscano
ptoscano at redhat.com
Thu Sep 7 12:19:36 UTC 2017
The guest of usb-bus-missing does not cause a parse error, but a
validation issue -- hence, switch from DO_TEST_PARSE_ERROR to
DO_TEST_FAILURE.
Fixes commit b003b9781b6ae633cfe4fdf6b9620ca246fa2432.
Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
tests/qemuxml2argvtest.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index d6ada227a..8aac919c8 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -1398,9 +1398,9 @@ mymain(void)
DO_TEST("usb-port-missing",
QEMU_CAPS_USB_HUB,
QEMU_CAPS_NODEFCONFIG);
- DO_TEST_PARSE_ERROR("usb-bus-missing",
- QEMU_CAPS_USB_HUB,
- QEMU_CAPS_NODEFCONFIG);
+ DO_TEST_FAILURE("usb-bus-missing",
+ QEMU_CAPS_USB_HUB,
+ QEMU_CAPS_NODEFCONFIG);
DO_TEST("usb-ports",
QEMU_CAPS_USB_HUB,
QEMU_CAPS_NODEFCONFIG);
--
2.13.5
More information about the libvir-list
mailing list