diff options
author | Julian Andres Klode <jak@debian.org> | 2017-09-03 14:38:58 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-09-09 20:12:15 +0200 |
commit | 8d23827be3043daf7fed1b86da1d41578889eaeb (patch) | |
tree | 824caa9e5112763a71053cf9284ec0cb4549e589 /test/integration/test-bug-618848-always-respect-user-requests | |
parent | 03ba8fcc5fe9560084b40b955067da7e60b2e1c0 (diff) |
ftparchive: Do not pass through disabled hashes in Sources
When writing a Sources files hashes that were already present
in the .dsc were always copied through (or modified), even if
disabled. Remove them instead when they are disabled, otherwise
we end up with hashes for tarballs and stuff but not for dsc
files (as the dsc obviously does not hash itself).
Also adjust the tests: test-compressed-indexes relied on Files
being present in showsrc, and test-apt-update-weak-hashes expected
the tarball to be downloaded when an archive only has MD5 and we
are requiring SHA256 because that used to work because the tarball
was always included.
Closes: #872963
Diffstat (limited to 'test/integration/test-bug-618848-always-respect-user-requests')
0 files changed, 0 insertions, 0 deletions