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

Test undoing install transaction when another arch is installed #1257

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
11 changes: 11 additions & 0 deletions dnf-behave-tests/dnf/install-remove-multilib.feature
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,14 @@ Scenario: Installing an older version of x86_64 pulls in a newer version of i686
| install | foo-1.0-1.x86_64 |
| install-dep | python3-foo-1.0-1.x86_64 |
| install-dep | python3-foo-clibs-1.0-1.x86_64 |


@bz2172292
Scenario: undo install transaction when another arch is installed
Given I successfully execute dnf with args "install perduto.i686"
And I successfully execute dnf with args "install perduto.x86_64"
When I execute dnf with args "history undo last"
Then the exit code is 0
And Transaction is following
| Action | Package |
| remove | perduto-0:1.0-1.fc29.x86_64 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Name: perduto
Version: 1.0
Release: 1.fc29
Summary: Made up package

License: GPLv3+
Url: None

%description
pedruto description

%files

%changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Name: perduto
Version: 1.0
Release: 1.fc29
Summary: Made up package

License: GPLv3+
Url: None

%description
pedruto description

%files

%changelog
Loading