debian-forge/test/run
Tomáš Hozza f30174d9ba Test/stages/rpm: add compatibility with RPM 6.0
RPM 6.0 (landed in F43, current rawhide), no longer uses short key ID
for the 'gpg-pubkey' pseudo-package, but to prevent any collision, it
uses full key ID.

This means that we can't consistently just compare the pipeline rpm
stage metadata from the test data with what we get from building the
test manifest. The reason is that we need to keep running the unit test
in upstream and downstream CI pipelines for OSes, which may ship RPM
6.0, but also older RPM version.

Extend the test case to do a special case check for any 'gpg-pubkey'
package in the metadata if the package version length differs between
the test data and data got from building the manifest.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2025-05-20 09:33:41 +02:00
..
__init__.py
test_assemblers.py
test_boot.py
test_devices.py
test_executable.py
test_exports.py
test_main.py osbuild: also print what export is availalble when one is not found 2024-09-10 10:49:18 -07:00
test_mount.py general: Fix linter issues across the codebase 2024-08-26 11:59:46 -07:00
test_noop.py osbuild add new -q, --quiet option 2024-09-09 18:07:54 -07:00
test_sources.py test: Validate the source test manifests 2025-01-14 08:19:16 +01:00
test_stages.py Test/stages/rpm: add compatibility with RPM 6.0 2025-05-20 09:33:41 +02:00