X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f695e76199a43b7f4d5816e20d18496b6448b833..0343b48e06fb990ee15a020bc6716b1a5a984e14:/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 b1f801bc5..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 <