提交 ef532913 编写于 作者: S Sitong Liu

ovs_qos: decode process.system_output()

Signed-off-by: NSitong Liu <siliu@redhat.com>
上级 1df0aa12
......@@ -217,7 +217,8 @@ def run(test, params, env):
return netperf_clients, netperf_servers
utils_path.find_command("ovs-vsctl")
if params.get("netdst") not in process.system_output("ovs-vsctl show"):
if (params.get("netdst") not in
process.system_output("ovs-vsctl show").decode()):
test.error("This is a openvswitch only test")
extra_options = params.get("netperf_client_options", " -l 60")
rate_brust_pairs = params.get("rate_brust_pairs").split()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册