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

Add test for dnf-automatic with non-existing config file #1571

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

m-blaha
Copy link
Member

@m-blaha m-blaha commented Oct 18, 2024

Comment on lines 4 to 10
Background:
Given I delete file "/etc/yum.repos.d/*.repo" with globs
And I create file "/etc/dnf/dnf.conf" with
"""
[main]
plugins=0
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is not needed here but I am fine with keeping it.

Could you add a comment or name the background (Backgroud: setup clean environment) to make its purpose clear?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right. It's a copy paste from another automatic test, but it's not needed here. I'll remove the background section. It doesn't even need to be run outside of the installroot.

@kontura kontura merged commit 8930b2a into dnf-4-stack Oct 22, 2024
3 checks passed
@kontura kontura deleted the mblaha/automatic-config branch October 22, 2024 10:14
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