提交 dcbec7de 编写于 作者: Y yangdongsheng 提交者: Yu Mingfei

virttest: Fix utils_selinux module.

Fix the context_pattern in get_context_from_str method.
The old pattern will not match the '_' in context such as
'svirt_image_t'.

utils_selinux_unittest: replace assertIn with assertTrue.
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
上级 f3ca3a55
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册