提交 fbcd9d32 编写于 作者: M Martin Kletzander

tests: remove hostdevmgr directory on cleanup

Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
上级 4f70ae24
......@@ -65,6 +65,9 @@ myCleanup(void)
}
if (mgr) {
if (mgr->stateDir && !getenv("LIBVIRT_SKIP_CLEANUP"))
virFileDeleteTree(mgr->stateDir);
virObjectUnref(mgr->activePCIHostdevs);
virObjectUnref(mgr->inactivePCIHostdevs);
virObjectUnref(mgr->activeUSBHostdevs);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册