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

microdnf: Test reinstalling non-installed package #1543

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
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.
"""
Loading