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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_assemblers.py | ||
| test_boot.py | ||
| test_devices.py | ||
| test_executable.py | ||
| test_exports.py | ||
| test_main.py | ||
| test_mount.py | ||
| test_noop.py | ||
| test_sources.py | ||
| test_stages.py | ||