Skip to content
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

test: Simplify selinux check #1967

Closed
wants to merge 1 commit into from

Conversation

jelly
Copy link
Member

@jelly jelly commented Jan 17, 2025

No description provided.

@jelly jelly requested a review from martinpitt January 17, 2025 14:32
self.has_selinux = not any(img in m.image for img in ["arch", "debian", "ubuntu", "suse"])
self.has_selinux = m.image not in ["arch", "debian", "ubuntu", "suse"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that doesn't work, these are substrings, not image names. Now I understand what this wanted to do.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 it's almost weekend :)

@jelly jelly closed this Jan 17, 2025
@jelly jelly deleted the simplify_selinux_check branch January 17, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants