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 for reinstall of pkg with identical Provide and Conflict #1480

Merged
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions dnf-behave-tests/dnf/microdnf/reinstall6.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@no_installroot
Feature: Reinstall


Scenario: Reinstall a pkg that has an identical Provide and a Conflict
Given I use repository "reinstall-provides-conflict"
And I successfully execute microdnf with args "install hello"
When I execute microdnf with args "reinstall hello"
Then the exit code is 0
And RPMDB Transaction is following
| Action | Package |
| reinstall | hello-0:1.0-1.fc29.x86_64 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Name: hello
Version: 1.0
Release: 1.fc29
Summary: Made up package

License: GPLv3+
Url: None

Conflicts: hello
Provides: hello

%description
Description of a pkg that Provides and Conflicts the same capability.

%files

%changelog
Loading