-
Notifications
You must be signed in to change notification settings - Fork 51
[rhel-9-main] Selinux test related backports #582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
co-authored by black, the formatting is not mine. Good job, turning 3 simple commands to 18 lines...
5e8a24c to
7440ec4
Compare
pkoprda
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
zpetrace
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, it seems some backports are missing as SELinux test is failing on the RHEL-9, please add the missing backports, thanks:)
Both are False, and there's no code that would distinguish between empty string and None anyway. This makes it harder to use the result of this function when working with it as with string.
Co-authored by black. I'm not responsible for formatting. Refs: https://issues.redhat.com/browse/CCT-1718
Some tests were not prepared for SELinux testing. Mostly, they are testing command-line/tool related functionality rather than the "service" mode of insights-client - being invoked by system timer or by other services such as rhccc. Those test cases need to explicitly call insights-client as a user would do not setting SELinux context.
a1e8981 to
effff1c
Compare
zpetrace
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This pull request is a backport of: