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: '{. -> ./run}/test_sources.py' 2020-04-24 15:50:44 +02:00
test_assemblers.py tests: update l2hash for the fc40 move 2024-07-02 09:46:45 +02:00
test_boot.py test/run/boot: migrate to a v2 manifest 2023-11-14 10:45:44 -08:00
test_devices.py test: fix all pylint issues 2024-01-02 19:31:31 +01:00
test_executable.py test: fix executable test 2022-02-15 13:25:23 +00:00
test_exports.py test: use del os.environ[] instead of os.unsetenv (thanks Simon) 2024-03-11 14:20:27 +01:00
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