]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-partial-file-support
detect redirection loops in acquire instead of workers
[apt.git] / test / integration / test-partial-file-support
index 8cfc3f2d3c0dc2e13ea6c28f90831fdc166ab446..e2d2743b3cfefae7507a67cec072c872a205f4eb 100755 (executable)
@@ -80,7 +80,7 @@ followuprequest() {
 
        webserverconfig 'aptwebserver::support::content-range' 'false'
        copysource $TESTFILE 1M $DOWN
-       testdownloadfile 'completely downloaded file' "${1}/testfile" "$DOWN" '=' "SHA1:$(sha1sum "$TESTFILE" | cut -d' ' -f 1)"
+       testdownloadfile 'completely downloaded file' "${1}/testfile" "$DOWN" '=' "SHA256:$(sha256sum "$TESTFILE" | cut -d' ' -f 1)"
        testwebserverlaststatuscode '416' "$DOWNLOADLOG"
        webserverconfig 'aptwebserver::support::content-range' 'true'