]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-transactions
Merge branch 'debian/sid' into debian/experimental
[apt.git] / test / integration / test-apt-update-transactions
index b325733ac460d502e182c516aebb142253ef0fa2..63b31805600ffc05a34e6ade40faf48c49a8c89a 100755 (executable)
@@ -47,6 +47,7 @@ testrun() {
 
 testsetup() {
        msgmsg 'Test with no initial data over' "$1"
+       redatereleasefiles 'now'
        rm -rf rootdir/var/lib/apt/lists
        mkdir -p rootdir/var/lib/apt/lists/partial
        listcurrentlistsdirectory > listsdir.lst
@@ -55,10 +56,19 @@ testsetup() {
        msgmsg 'Test with initial data over' "$1"
        testsuccess aptget update
        listcurrentlistsdirectory > listsdir.lst
+       redatereleasefiles '+1hour'
        testrun 'listsdir.lst'
 }
 
 testsetup 'file'
+
 changetowebserver
+webserverconfig 'aptwebserver::support::modified-since' 'false' "$1"
+webserverconfig 'aptwebserver::support::last-modified' 'false' "$1"  # curl is clever and sees hits here also
+webserverconfig 'aptwebserver::support::range' 'false' "$1"
+
 testsetup 'http'
 
+changetohttpswebserver
+
+testsetup 'https'