提交 1e242db3 编写于 作者: S Shuping Cui

qemu.tests.pktgen: Small fix for log format

Change log "packet lost ratio is '%100'" to '100%'.
Signed-off-by: NShuping Cui <scui@redhat.com>
上级 1d87da0f
......@@ -117,7 +117,7 @@ def run(test, params, env):
loss_ratio == -1):
logging.debug("Ping %s output: %s" % (external_host, output))
raise error.TestFail("Guest network connction unusable," +
"packet lost ratio is '%%%d'" % loss_ratio)
"packet lost ratio is '%d%%'" % loss_ratio)
if server_session:
server_session.close()
if session:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册