selftests: sysinfo collects messages if available
The sysinfo.post collects "/var/log/messages" by default. This can fail
when not running as superuser. Adjust the unittests to handle booth
variants.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录