提交 732c4e2a 编写于 作者: Y Yiqiao Pu 提交者: Lucas Meneghel Rodrigues

qemu.tests: Update interface for virtio driver sign check

Update the module patch and module name.
Signed-off-by: NYiqiao Pu <ypu@redhat.com>
上级 edc5223a
import logging, os, re, time
from autotest_lib.client.common_lib import error
from autotest_lib.client.virt import virt_utils
from autotest.client.shared import error
from virttest import utils_misc
def run_virtio_driver_sign_check(test, params, env):
......@@ -10,7 +10,7 @@ def run_virtio_driver_sign_check(test, params, env):
2) Install windows SDK in guest.
3) use SignTool.exe to verify whether block driver digital signed
@param test: kvm test object
@param test: QEMU test object
@param params: Dictionary with the test parameters
@param env: Dictionary with test environment.
"""
......@@ -39,7 +39,7 @@ def run_virtio_driver_sign_check(test, params, env):
# Wait until guest start install sdk.
time.sleep(10)
logging.info("Waiting for guest sdk setup ...")
virt_utils.wait_for(is_sdksetup_finished, timeout=1800)
utils_misc.wait_for(is_sdksetup_finished, timeout=1800)
results_all = """All the signature check log:\n"""
fails_log = """Failed signature check log:\n"""
fail_num = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册