debian-forge/test
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
..
cases Test/manifest_tests: --osb-store -> --osbuild-store 2025-01-31 10:18:14 +01:00
data Test/inline sources: add lzma+base64 success case 2025-05-13 10:27:36 +02:00
mod util: add new util.experimentalflags.get_{bool,string} helpers 2025-04-03 10:49:06 +02:00
run Test/stages/rpm: add compatibility with RPM 6.0 2025-05-20 09:33:41 +02:00
stages test: add test for export option 2024-01-10 11:24:01 +01:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
conftest.py Test: add ability to skip tests for unsupported file-systems 2023-04-21 17:13:10 +02:00
initrd.py autopep8: Update with changes to make autopep8 -a -a -a happy 2023-08-10 13:04:14 +02:00
test.py sbom/spdx: use compliant license expressions 2025-02-27 13:31:19 +01:00