diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-05-12 00:30:16 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-05-12 00:30:16 +0200 |
commit | dcbb364fc69e1108b3fea3adb12a7ba83d9af467 (patch) | |
tree | 5422a146993545e1d9b3bec04b7e5ebfed598e00 /test/integration/test-apt-update-transactions | |
parent | 88593886a42025d51d76051da5929b044e42efee (diff) |
detect 416 complete file in partial by expected hash
If we have the expected hashes we can check with them if the file we
have in partial we got a 416 for is the expected file. We detected this
with same-size before, but not every server sends a good Content-Range
header with a 416 response.
Diffstat (limited to 'test/integration/test-apt-update-transactions')
-rwxr-xr-x | test/integration/test-apt-update-transactions | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-apt-update-transactions b/test/integration/test-apt-update-transactions index f028ac0c7..67dd633f9 100755 --- a/test/integration/test-apt-update-transactions +++ b/test/integration/test-apt-update-transactions @@ -63,6 +63,7 @@ testsetup 'file' changetowebserver webserverconfig 'aptwebserver::support::modified-since' 'false' "$1" webserverconfig 'aptwebserver::support::last-modified' 'false' "$1" # curl is clever and sees hits here also +webserverconfig 'aptwebserver::support::range' 'false' "$1" testsetup 'http' |