提交 9904c894 编写于 作者: F Feng Yang

Merge pull request #48 from spcui/usb_hotplug

qemu.tests.usb_hotplug: Do not need to verify usb device on guest for negative test
......@@ -147,7 +147,7 @@
- usb_negative_test:
only ehci
only usb_hub
only usb_default
only without_usb_hub
# Note: This is a workaround for the multifunction
# code in qemu_vm module.
usb_type_usbtest = usb-ehci
......
......@@ -76,7 +76,8 @@ def run(test, params, env):
for i in range(repeat_times):
error.context("Hotplug (iteration %i)" % (i + 1), logging.info)
usb_dev_hotplug()
usb_dev_verify()
usb_dev_unplug()
if not params.get("usb_negative_test") == "yes":
usb_dev_verify()
usb_dev_unplug()
session.close()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册