Skip to content

Commit

Permalink
Remove stderr test step from install-xml-base.feature
Browse files Browse the repository at this point in the history
The warning on stderr is not important for the test result and there is
a difference between dnf5 and dnf5daemon-client behavior - dnfdaemon
does not print the warning on stderr.
Without this step we can keep the same scenarios for both dnf5 and
dnf5daemon-client.
  • Loading branch information
m-blaha authored and evan-goode committed Aug 1, 2023
1 parent 5fcdc98 commit bbb3ec5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions dnf-behave-tests/dnf/install-xml-base.feature
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ Given I make packages from repository "dnf-ci-fedora" accessible via http
And I use repository "dnf-ci-fedora"
When I execute dnf with args "--setopt=keepcache=true install setup"
Then the exit code is 0
And stderr is
"""
Warning: skipped PGP checks for 1 package(s).
"""
And Transaction is following
| Action | Package |
| install | setup-0:2.12.1-1.fc29.noarch |
Expand All @@ -45,10 +41,6 @@ Given I make packages from repository "dnf-ci-fedora" accessible via http
And I use repository "dnf-ci-fedora" as http
When I execute dnf with args "install setup"
Then the exit code is 0
And stderr is
"""
Warning: skipped PGP checks for 1 package(s).
"""
And Transaction is following
| Action | Package |
| install | setup-0:2.12.1-1.fc29.noarch |
Expand All @@ -65,10 +57,6 @@ Given I make packages from repository "dnf-ci-fedora" accessible via http
When I execute dnf with args "install setup"
Then file "/{context.dnf.repos[dnf-ci-fedora].path}/noarch/setup-2.12.1-1.fc29.noarch.rpm" exists
And the exit code is 0
And stderr is
"""
Warning: skipped PGP checks for 1 package(s).
"""
And Transaction is following
| Action | Package |
| install | setup-0:2.12.1-1.fc29.noarch |
Expand Down

0 comments on commit bbb3ec5

Please sign in to comment.