-
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.
Adjust reposync tests for dnf5 behavior
- progress bars output goes to stderr instead of stdout - full NEVRA including epoch is used - --downloadcomps support is dropped - --newest-only is yet not fully supported for modules - backported dnf4 test for not downloading the same NEVRA multiple times
- Loading branch information
Showing
3 changed files
with
102 additions
and
63 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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
@xfail | ||
# The plugin is missing: https://github.com/rpm-software-management/dnf5/issues/931 | ||
@dnf5 | ||
Feature: Tests for reposync command with local repository | ||
|
||
|
||
Scenario: Base functionality of reposync on local repository | ||
Given I use repository "dnf-ci-thirdparty-updates" | ||
When I execute dnf with args "reposync --download-path={context.dnf.tempdir}" | ||
Then the exit code is 0 | ||
And stdout contains "\([1-6]/6\): CQRlib-extension-1\.6-2\.src\.rpm\s.*" | ||
And stdout contains "\([1-6]/6\): CQRlib-extension-1\.6-2\.x86_64\.rpm\s.*" | ||
And stdout contains "\([1-6]/6\): SuperRipper-1\.2-1\.src\.rpm\s.*" | ||
And stdout contains "\([1-6]/6\): SuperRipper-1\.2-1\.x86_64\.rpm\s.*" | ||
And stdout contains "\([1-6]/6\): SuperRipper-1\.3-1\.src\.rpm\s.*" | ||
And stdout contains "\([1-6]/6\): SuperRipper-1\.3-1\.x86_64\.rpm\s.*" | ||
And stderr contains " CQRlib-extension-0:1\.6-2\.src\s.*" | ||
And stderr contains " CQRlib-extension-0:1\.6-2\.x86_64\s.*" | ||
And stderr contains " SuperRipper-0:1\.2-1\.src\s.*" | ||
And stderr contains " SuperRipper-0:1\.2-1\.x86_64\s.*" | ||
And stderr contains " SuperRipper-0:1\.3-1\.src\s.*" | ||
And stderr contains " SuperRipper-0:1\.3-1\.x86_64\s.*" | ||
And the files "{context.dnf.tempdir}/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" and "{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty-updates/x86_64/CQRlib-extension-1.6-2.x86_64.rpm" do not differ |
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
Oops, something went wrong.