未验证 提交 2e7f3018 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1379 from luckyh/fix-timedrift

timedrift: Fix the CmdError of restore_cpu_affinity()
......@@ -59,7 +59,8 @@ def run(test, params, env):
:param prev_masks: A dict containing TIDs as keys and masks as values.
"""
for tid, mask in prev_masks.items():
process.system("taskset -p %s %s" % (mask, tid), verbose=False)
process.system("taskset -p %s %s" % (mask, tid), verbose=False,
ignore_status=True)
vm = env.get_vm(params["main_vm"])
vm.verify_alive()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册