diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2018-05-09 11:12:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2018-05-09 11:15:50 +0300 |
commit | 48eb5abb6f069d65c75e5df8673194bfdb8be926 (patch) | |
tree | cdbca6f1f5c2b46ed7cc21183f5b55e356f50b75 /tests/rpmi.at | |
parent | 4e158f5d4ce6c1464d6c36b735ae5d8c28b87ed6 (diff) | |
download | rpm-48eb5abb6f069d65c75e5df8673194bfdb8be926.tar.gz |
Make verify set sorting more precise (and hopefully, more useful)
Sort in rough "better first" order from algorithm POV (assuming newer
is better which always isn't the case), which could perhaps be used
for skipping lesser digests for example. For the rest, sort by whatever
to ensure consistent order. Update test-suite expectations to match.
This does not affect actual verify results in any way though.
Diffstat (limited to 'tests/rpmi.at')
-rw-r--r-- | tests/rpmi.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rpmi.at b/tests/rpmi.at index 0b3937b48..2f7381a65 100644 --- a/tests/rpmi.at +++ b/tests/rpmi.at @@ -162,8 +162,8 @@ runroot rpm -U --ignorearch --ignoreos --nodeps \ [1], [], [error: /tmp/hello-2.0-1.x86_64-signed.rpm: Header V4 RSA/SHA256 Signature, key ID 1964c5fc: BAD -error: /tmp/hello-2.0-1.x86_64-signed.rpm: Header SHA1 digest: BAD (Expected 5cd9874c510b67b44483f9e382a1649ef7743bac != 4261b2c1eb861a4152c2239bce20bfbcaa8971ba) error: /tmp/hello-2.0-1.x86_64-signed.rpm: Header SHA256 digest: BAD (Expected ef920781af3bf072ae9888eec3de1c589143101dff9cc0b561468d395fb766d9 != 29fdfe92782fb0470a9a164a6c94af87d3b138c63b39d4c30e0223ca1202ba82) +error: /tmp/hello-2.0-1.x86_64-signed.rpm: Header SHA1 digest: BAD (Expected 5cd9874c510b67b44483f9e382a1649ef7743bac != 4261b2c1eb861a4152c2239bce20bfbcaa8971ba) error: /tmp/hello-2.0-1.x86_64-signed.rpm cannot be installed ]) AT_CLEANUP |