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

versionlock: add a test when adding packages by wildcard #1620

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,20 @@ Scenario: I can lock mutliple packages when one is already locked
<REPOSYNC>
Package "wget" is already locked.
"""


# https://github.com/rpm-software-management/dnf5/issues/1895
Scenario: I can lock multiple packages with the same nevra and name matching wildcard
When I execute dnf with args "versionlock add lz4*"
Then the exit code is 0
And stdout is
"""
Adding versionlock on "lz4 = 1.7.5-2.fc26".
Adding versionlock on "lz4-debuginfo = 1.7.5-2.fc26".
Adding versionlock on "lz4-devel = 1.7.5-2.fc26".
Adding versionlock on "lz4-static = 1.7.5-2.fc26".
"""
And stderr is
"""
<REPOSYNC>
"""
Loading