提交 cb03ea03 编写于 作者: W Wei Jiangang

flow_caches_stress_test: Fix undefined name 'prompt'

The commit 2687b22a "qemu.tests:modify netperf related script"
assigns shell prompt to variable 'shell_prompt',
but pass 'prompt' to utils_netperf.NetperfServer().
Signed-off-by: NWei Jiangang <weijg.fnst@cn.fujitsu.com>
上级 eddd27a4
......@@ -83,7 +83,7 @@ def run(test, params, env):
passwd = params.get("hostpasswd", "123456")
client = params.get("shell_client", "ssh")
port = params.get("shell_port", "22")
shell_prompt = params.get("shell_prompt", "^root@.*[\#\$]\s*$|#")
prompt = params.get("shell_prompt", "^root@.*[\#\$]\s*$|#")
linesep = params.get("shell_linesep", "\n").decode('string_escape')
status_test_command = params.get("status_test_command", "echo $?")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册