summaryrefslogtreecommitdiff
path: root/tests/rpmgeneral.at
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2019-10-03 14:58:11 +0300
committerPanu Matilainen <pmatilai@redhat.com>2019-10-28 15:27:56 +0200
commit83a26ae9e19fa3526b7331e824e273521c27b0a9 (patch)
treee1a8c09542ec121cb1d274b7298592d76f6614d5 /tests/rpmgeneral.at
parent4739ce8213f573ccfae98775d353a2cff19184c7 (diff)
downloadrpm-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.at1
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