Skip to content

Commit

Permalink
Remove non-relevant tests from files.feature
Browse files Browse the repository at this point in the history
The same tests doesn't exist in 9.5 branch, see:
#1510
  • Loading branch information
Martin Banas committed Aug 15, 2024
1 parent 06c864b commit c211147
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions dnf-behave-tests/dnf/repoquery/files.feature
Original file line number Diff line number Diff line change
@@ -1,30 +1,6 @@
@dnf5
Feature: Repoquery tests working with files


Scenario: list files in an rpm including files in filelists.xml
Given I use repository "repoquery-files"
When I execute dnf with args "repoquery a.x86_64 -l"
Then the exit code is 0
And stdout is
"""
<REPOSYNC>
/root-file
/usr/bin/a-binary
"""


Scenario: filter by file in primary.xml
Given I use repository "repoquery-files"
When I execute dnf with args "repoquery --file /usr/bin/a-binary"
Then the exit code is 0
And stdout is
"""
<REPOSYNC>
a-0:1.0-1.fc29.x86_64
"""


@RHEL-5747
Scenario: filter by file in primary.xml but force command only search in rpm names -> empty output
Given I use repository "repoquery-files"
Expand All @@ -35,14 +11,3 @@ Given I use repository "repoquery-files"
<REPOSYNC>
"""


@bz2276012
Scenario: filter by file in filelists.xml
Given I use repository "repoquery-files"
When I execute dnf with args "repoquery --file /root-file"
Then the exit code is 0
And stdout is
"""
<REPOSYNC>
a-0:1.0-1.fc29.x86_64
"""

0 comments on commit c211147

Please sign in to comment.