-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
microdnf: test for reinstall of pkg with identical Provide and Conflict
- Loading branch information
1 parent
b77498d
commit 2559afc
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
17 changes: 17 additions & 0 deletions
17
dnf-behave-tests/fixtures/specs/reinstall-provides-conflict/hello-1.0-1.fc29.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |