Skip to content

Commit

Permalink
Test --norepopath with --metadata-path
Browse files Browse the repository at this point in the history
  • Loading branch information
pkratoch authored and kontura committed Jul 29, 2024
1 parent ae22372 commit ece29f5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dnf-behave-tests/dnf/plugins-core/reposync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,22 @@ Scenario: Reposync --norepopath cannot be used with multiple repositories
"""


@RHEL-40914
Scenario: Reposync with --norepopath and --metadata-path ad --download-metadata options
Given I use repository "dnf-ci-thirdparty-updates" as http
When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --norepopath --metadata-path={context.dnf.tempdir}/downloadedmetadata --download-metadata"
Then the exit code is 0
And the text file contents of "/{context.dnf.tempdir}/downloadedmetadata/repodata/primary.xml.zst" and "/{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty-updates/repodata/primary.xml.zst" do not differ


@RHEL-40914
Scenario: Reposync with --norepopath and --metadata-path ad --downloadcomps options
Given I use repository "dnf-ci-thirdparty-updates" as http
When I execute dnf with args "reposync --download-path={context.dnf.tempdir} --norepopath --metadata-path={context.dnf.tempdir}/downloadedmetadata --downloadcomps"
Then the exit code is 0
And the text file contents of "/{context.dnf.tempdir}/downloadedmetadata/comps.xml" and "/{context.dnf.fixturesdir}/repos/dnf-ci-thirdparty-updates/repodata/comps.xml.zst" do not differ


@bz1856818
Scenario: Reposync --gpgcheck removes unsigned packages and packages signed by not-installed keys
Given I use repository "reposync-gpg" with configuration
Expand Down

0 comments on commit ece29f5

Please sign in to comment.