提交 0bae0e62 编写于 作者: S suqinhuang 提交者: GitHub

Merge pull request #673 from CongLi/balloon_service

balloon_service: fix a logical error of blnsvr.exe status.
......@@ -51,7 +51,8 @@ def run(test, params, env):
logging.debug("Check balloon service status.")
output = session.cmd_output(status_balloon_service)
if re.search(r"running", output.lower(), re.M):
if re.search(r"stop", output.lower(), re.M):
logging.debug("Balloon service is already running !")
elif re.search(r"stop", output.lower(), re.M):
logging.debug("Run Balloon Service in guest.")
try:
run_balloon_service = params["run_balloon_service"] % drive_letter
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册