Skip to content

Commit

Permalink
microdnf: Test reinstalling non-installed package
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-goode authored and kontura committed Dec 12, 2024
1 parent efeda03 commit 4d57b3b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dnf-behave-tests/dnf/microdnf/reinstall-not-installed.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@no_installroot
Feature: Reinstall


Background: Set up repositories
Given I use repository "dnf-ci-fedora"
And I use repository "dnf-ci-fedora-updates"


Scenario: Reinstall an RPM that is available, but not installed
When I execute microdnf with args "reinstall CQRlib"
Then the exit code is 1
And RPMDB Transaction is empty
And stdout is
"""
Package for argument CQRlib available, but not installed.
"""

0 comments on commit 4d57b3b

Please sign in to comment.