diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2019-10-03 14:58:11 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2019-10-28 15:27:56 +0200 |
commit | 83a26ae9e19fa3526b7331e824e273521c27b0a9 (patch) | |
tree | e1a8c09542ec121cb1d274b7298592d76f6614d5 /tests/rpmgeneral.at | |
parent | 4739ce8213f573ccfae98775d353a2cff19184c7 (diff) | |
download | rpm-83a26ae9e19fa3526b7331e824e273521c27b0a9.tar.gz |
Implement support for alternative (uncompressed) payload digest
During build, also calculate a digest for the uncompressed payload data
and add to packages. On verify side this is equivalent to the existing
payload digest (through sharing the same disabler), which allows
either one to be used for verification. This means deltarpm and similar
don't need to recompress the data which is both expensive and error-prone
due to minor differences in compressed stream despite the actual data
being identical.
Add a testcase for the basic behavior and update other test output
expectations where necessary.
Diffstat (limited to 'tests/rpmgeneral.at')
-rw-r--r-- | tests/rpmgeneral.at | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at index 4cfc7cd2f..1b7ca452a 100644 --- a/tests/rpmgeneral.at +++ b/tests/rpmgeneral.at @@ -192,6 +192,7 @@ PATCHESVERSION PAYLOADCOMPRESSOR PAYLOADDIGEST PAYLOADDIGESTALGO +PAYLOADDIGESTALT PAYLOADFLAGS PAYLOADFORMAT PKGID |