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

Add tests for extracting rpmdb from container images #31

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

lubomir
Copy link
Contributor

@lubomir lubomir commented Jul 31, 2024

This PR moves code around to separate modules, and adds unit tests. The tests need fixture data simulating images.

@lubomir lubomir force-pushed the test-container-rpmdb branch from ac4ac67 to 714b709 Compare August 6, 2024 12:16
@lubomir lubomir force-pushed the test-container-rpmdb branch from 714b709 to 2974fbd Compare August 29, 2024 10:08
The test will dynamically create a tiny container image with only a few
files, and try to extract the rpmdb from it. It checks all combinations
of location in image and on the host system.
@lubomir lubomir force-pushed the test-container-rpmdb branch from 2974fbd to 44dc254 Compare September 2, 2024 09:02
@lubomir lubomir merged commit abf5eb9 into main Sep 2, 2024
4 checks passed
@lubomir lubomir deleted the test-container-rpmdb branch September 2, 2024 09:04
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.

1 participant