X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1eb1836f4b5397497bd34f0cf516e6e4e73117bf..ab5b1d0d31b2fbdc4896f8a107611ff056d6a668:/test/integration/test-apt-update-not-modified diff --git a/test/integration/test-apt-update-not-modified b/test/integration/test-apt-update-not-modified index 6d176a655..f6dea81e2 100755 --- a/test/integration/test-apt-update-not-modified +++ b/test/integration/test-apt-update-not-modified @@ -7,7 +7,7 @@ TESTDIR=$(readlink -f $(dirname $0)) setupenvironment configarchitecture 'amd64' 'i386' -insertpackage 'unstable' 'apt' 'all' '1.0' +insertpackage 'unstable' 'apt' 'amd64,i386' '1.0' setupaptarchive --no-update @@ -46,8 +46,8 @@ EOF Get:2 $1 unstable/main amd64 Packages [$(stat -c '%s' 'aptarchive/dists/unstable/main/binary-amd64/Packages.gz') B] Err:2 $1 unstable/main amd64 Packages Hash Sum mismatch +Reading package lists... W: Failed to fetch $1/dists/unstable/main/binary-amd64/Packages.gz Hash Sum mismatch - E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update testfileequal 'listsdir-without-amd64.lst' "$(listcurrentlistsdirectory)" rm -rf aptarchive/dists @@ -106,8 +106,8 @@ Hit:2 $1 unstable Release Get:4 $1 unstable/main amd64 Packages [$(stat -c '%s' 'aptarchive/dists/unstable/main/binary-amd64/Packages.gz') B] Err:4 $1 unstable/main amd64 Packages Hash Sum mismatch +Reading package lists... W: Failed to fetch $1/dists/unstable/main/binary-amd64/Packages.gz Hash Sum mismatch - E: Some index files failed to download. They have been ignored, or old ones used instead." aptget update testfileequal 'listsdir-without-amd64.lst' "$(listcurrentlistsdirectory)" rm -rf aptarchive/dists @@ -155,7 +155,7 @@ Reading package lists..." aptget update } changetowebserver -methodtest 'http://localhost:8080' +methodtest "http://localhost:${APTHTTPPORT}" changetohttpswebserver -methodtest 'https://localhost:4433' +methodtest "https://localhost:${APTHTTPSPORT}"