X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/fb193b1cd43f0e8c3b7e5f69f183b9abe7e83761..4f242a2289cc5db7a53afdb875291c94de64fd90:/test/integration/test-apt-update-not-modified?ds=sidebyside diff --git a/test/integration/test-apt-update-not-modified b/test/integration/test-apt-update-not-modified index ce3bc0dd3..064c7cbc7 100755 --- a/test/integration/test-apt-update-not-modified +++ b/test/integration/test-apt-update-not-modified @@ -6,9 +6,11 @@ TESTDIR="$(readlink -f "$(dirname "$0")")" setupenvironment configarchitecture 'amd64' 'i386' +confighashes 'SHA256' insertpackage 'unstable' 'apt' 'amd64,i386' '1.0' +export APT_DONT_SIGN='' setupaptarchive --no-update methodtest() { @@ -34,10 +36,9 @@ Reading package lists..." aptget update # readd arch so its downloaded again… configarchitecture 'amd64' 'i386' # … but oh noes, hashsum mismatch! - SIZE=$(stat -c '%s' 'aptarchive/dists/unstable/main/binary-amd64/Packages.gz') - find aptarchive/dists/unstable/main/binary-amd64/ -type f -delete - cat >> aptarchive/dists/unstable/main/binary-amd64/Packages < aptarchive/dists/unstable/main/binary-amd64/Packages <> aptarchive/dists/unstable/main/binary-amd64/Packages < aptarchive/dists/unstable/main/binary-amd64/Packages <