提交 e7122a45 编写于 作者: L Lukáš Doktor

Avoid accessing "closed" process in valgrind_memalign

During `vm.destroy()` the `vm.process` is closed, making it impossible
to access it's output (or pid, ...). Let's quit the machine manually
from the test, wait until it's dead and then verify userspace crash.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 4082ea0e
......@@ -51,5 +51,6 @@ def run(test, params, env):
error.context("Quit guest and check the process quit normally",
logging.info)
vm.destroy(gracefully=False)
vm.monitor.quit()
vm.wait_until_dead(5, 0.5, 0.5)
vm.verify_userspace_crash()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册