]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
detect 416 complete file in partial by expected hash
[apt.git] / test / integration / framework
index 03c18818998ea736a7b768c83d3946a8e5709540..2a53e83656bbc8c21ecd798d0aed530cf7dcef8d 100644 (file)
@@ -1128,7 +1128,7 @@ acquire::cdrom::autodetect 0;" > rootdir/etc/apt/apt.conf.d/00cdrom
 downloadfile() {
        local PROTO="${1%%:*}"
        if ! apthelper -o Debug::Acquire::${PROTO}=1 -o Debug::pkgAcquire::Worker=1 \
-               download-file "$1" "$2" 2>&1 ; then
+               download-file "$1" "$2" "$3" 2>&1 ; then
                return 1
        fi
        # only if the file exists the download was successful