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

Removal of a not-installed group does not fail #1406

Merged
merged 1 commit into from
Nov 16, 2023
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
11 changes: 11 additions & 0 deletions dnf-behave-tests/dnf/comps-group.feature
Original file line number Diff line number Diff line change
Expand Up @@ -655,3 +655,14 @@ Scenario: dnf can list installed groups even without their xml definitions prese
Repositories : @System
Default packages : test-package
"""

# https://github.com/rpm-software-management/dnf5/issues/917
@dnf5
Scenario: Remove group that is not installed
Given I use repository "dnf-ci-thirdparty"
When I execute dnf with args "group remove dnf-ci-testgroup"
Then the exit code is 0
And stderr is
"""
No groups to remove for argument: dnf-ci-testgroup
"""