Skip to content

Commit

Permalink
Removal of a not-installed group does not fail
Browse files Browse the repository at this point in the history
  • Loading branch information
m-blaha committed Nov 14, 2023
1 parent 9942c73 commit 36b95ee
Showing 1 changed file with 11 additions and 0 deletions.
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
"""

0 comments on commit 36b95ee

Please sign in to comment.