Skip to content

Commit

Permalink
Fix outdated scenarion names
Browse files Browse the repository at this point in the history
`--resolve` was changed to `--providers-of` in dnf5.
  • Loading branch information
kontura authored and jan-kolarik committed May 13, 2024
1 parent 878bebd commit 0db9610
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dnf-behave-tests/dnf/repoquery/deps.feature
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Scenario: repoquery --requires NAME-VERSION
bottom3
"""

Scenario: repoquery --requires --resolve NAME
Scenario: repoquery --providers-of=requires NAME
When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle1"
Then the exit code is 0
And stdout is
Expand All @@ -46,7 +46,7 @@ Scenario: repoquery --requires --resolve NAME
bottom4-1:1.0-1.x86_64
"""

Scenario: repoquery --requires --resolve NAMEGLOB
Scenario: repoquery --providers-of=requires NAMEGLOB
When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires middle[1]"
Then the exit code is 0
And stdout is
Expand All @@ -58,7 +58,7 @@ Scenario: repoquery --requires --resolve NAMEGLOB
bottom4-1:1.0-1.x86_64
"""

Scenario: repoquery --requires --resolve --recursive NAME
Scenario: repoquery --providers-of=requires --recursive NAME
When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1"
Then the exit code is 0
And stdout is
Expand All @@ -72,7 +72,7 @@ Scenario: repoquery --requires --resolve --recursive NAME
middle2-1:2.0-1.x86_64
"""

Scenario: repoquery --requires --resolve --recursive NAME-VERSION
Scenario: repoquery --providers-of=requires --recursive NAME-VERSION
When I execute dnf with args "repoquery --setopt=optional_metadata_types=filelists --providers-of=requires --recursive top1-2.0"
Then the exit code is 0
And stdout is
Expand Down

0 comments on commit 0db9610

Please sign in to comment.