[PATCH 1/5] tests: qemuxml2argv: fix expected type for usb-bus-missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux