Skip to content

Commit

Permalink
Test for repo.includepkgs behavior when installing local RPM
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kolarik committed Apr 22, 2024
1 parent 2ac8e6e commit 2223003
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dnf-behave-tests/dnf/excludes-includes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,14 @@ Scenario: Install RPMs that are in includepkgs in main conf and NOT in excludepk
And Transaction is following
| Action | Package |
| install | flac-libs-0:1.3.2-8.fc29.x86_64 |


@bz2275530
Scenario: Install local RPM when repository includepkgs are restricted
Given I use repository "dnf-ci-fedora"
And I successfully execute dnf with args "download http-parser"
When I execute dnf with args "install http-parser-2.4.0-1.fc29.x86_64.rpm --setopt=dnf-ci-fedora.includepkgs=pkg*"
Then the exit code is 0
And Transaction is following
| Action | Package |
| install | http-parser-0:2.4.0-1.fc29.x86_64 |

0 comments on commit 2223003

Please sign in to comment.