提交 a7b5c193 编写于 作者: Y Yihuang Yu

qemu_guest_agent: Update pattern to get "target_release"

Failed to get "target_release" on non-x86, update pattern to fix it.
Signed-off-by: NYihuang Yu <yihyu@redhat.com>
上级 491c88ab
......@@ -172,7 +172,7 @@ class QemuGuestAgentTest(BaseVirtTest):
" stream." % virt_module_stream,
logging.info)
# target release,such as 810,811
target_release = re.findall(r'rhel(\d+)-\d+', guest_name, re.I)[0]
target_release = re.findall(r'rhel(\d+)-\w+', guest_name, re.I)[0]
# get tag pattern,such as module-virt-8.1-80101xxxxx
if virt_module_stream == "rhel":
# for slow train,didn't know 810 or 811.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册