Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rpmkeys --list in test cases #3434

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

ffesti
Copy link
Contributor

@ffesti ffesti commented Nov 7, 2024

This indeed does work with the fs backend nowadays. Since 42985d5 actually.

@ffesti ffesti requested a review from a team as a code owner November 7, 2024 12:15
@ffesti ffesti requested review from pmatilai and removed request for a team November 7, 2024 12:15
@pmatilai
Copy link
Member

pmatilai commented Nov 7, 2024

Updating the tests to rpmkeys is okay for sure, but we'll want to preserve the filesystem level tests. Without those, we don't actually know what the backend does or even what backend gets used, just that something works 😅 This already saved my a** at least once.

This indeed does work with the fs backend nowadays.
Since 42985d5 actually.

Keep the find in the first case to make sure the key is in the right
place. For the second test case the file is gone anyway.
@ffesti
Copy link
Contributor Author

ffesti commented Nov 7, 2024

There are a couple of other test having an even more thorough look on the file system. Keeping the find line for the one case where there actually files to find.

@pmatilai pmatilai merged commit c43225b into rpm-software-management:master Nov 7, 2024
1 check passed
@ffesti ffesti deleted the listkeys branch November 11, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants