提交 14cf4164 编写于 作者: N nanliu

chardev:fix unclear error message

An unclear error message will mislead us to debug
error difficultly.
Signed-off-by: NNana Liu <nanliu@redhat.com>
上级 4a923f6c
......@@ -138,7 +138,7 @@ def run(test, params, env):
vm.devices.simple_unplug(serial_devices[1], vm.monitor)
out = vm.devices.simple_unplug(buses[0], vm.monitor)
if out[1] is False:
msg = "Still get %s in qtree after unplug" % device
msg = "Hot-unplug device %s failed" % buses[0]
test.fail(msg)
if interrupt_test_after_unplug:
logging.info("Run %s after hot-unplug"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册