netperf: Fix invalid syntax bug

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 c0fc8516
...@@ -341,7 +341,7 @@ def start_test(server, server_ctl, host, clients, resultsdir, l=60, ...@@ -341,7 +341,7 @@ def start_test(server, server_ctl, host, clients, resultsdir, l=60,
fd.flush() fd.flush()
kill_cmd = "killall netperf" kill_cmd = "killall netperf"
if params.get("os_type") = "windows": if params.get("os_type") == "windows":
kill_cmd = "taskkill /F /IM netperf*" kill_cmd = "taskkill /F /IM netperf*"
ssh_cmd(clients[-1], kill_cmd) ssh_cmd(clients[-1], kill_cmd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册