未验证 提交 870efa5c 编写于 作者: Y Yanan Fu 提交者: GitHub

Merge pull request #2134 from PaulYuuu/guest_agent_pattern

qemu_guest_agent: Update pattern to get "target_release"
......@@ -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.
先完成此消息的编辑!
想要评论请 注册