Skip to content

Commit

Permalink
Test undoing install transaction when another arch is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura committed Jun 10, 2024
1 parent 382ec64 commit b691703
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
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

0 comments on commit b691703

Please sign in to comment.