X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/d7a51997c30b2098bb60b3397095ec58ec825303..eab57e0807c08fe8d3a5dcf02809c830f99fd972:/test/integration/test-pdiff-usage diff --git a/test/integration/test-pdiff-usage b/test/integration/test-pdiff-usage index 4dc94db76..d60a81b21 100755 --- a/test/integration/test-pdiff-usage +++ b/test/integration/test-pdiff-usage @@ -6,10 +6,11 @@ TESTDIR=$(readlink -f $(dirname $0)) setupenvironment configarchitecture 'i386' +confighashes 'SHA1' 'SHA256' buildaptarchive setupflataptarchive -changetowebserver +changetowebserver -o aptwebserver::support::modified-since=false PKGFILE="${TESTDIR}/$(echo "$(basename $0)" | sed 's#^test-#Packages-#')" @@ -95,14 +96,6 @@ SHA256-Download: testsuccessequal "$(cat ${PKGFILE}-new) " aptcache show apt newstuff - msgmsg "Testcase: index is already up-to-date: $*" - find rootdir/var/lib/apt/lists -name '*diff_Index' -type f -delete - testsuccess aptget update "$@" - testequal 'Hit:1 http://localhost:8080 InRelease -Reading package lists...' aptget update "$@" -o Debug::Acquire::Transaction=0 -o Debug::pkgAcquire::Diffs=0 - testsuccessequal "$(cat ${PKGFILE}-new) -" aptcache show apt newstuff - msgmsg "Testcase: apply with two patches: $*" cp ${PKGFILE}-new aptarchive/Packages echo '