a hit on Release files means the indexes will be hits too
[apt.git] / test / integration / test-apt-update-expected-size
index 22de13ea5ec704991eddc2a5bd78ded4641a32c3..9f58308aa4eda1a7ff1e8f8ad2a934f422a626c7 100755 (executable)
@@ -38,6 +38,10 @@ E: Some index files failed to download. They have been ignored, or old ones used
 }
 
 methodtest() {
+       # less complicated test setup this way
+       webserverconfig 'aptwebserver::support::modified-since' 'false' "$1"
+       webserverconfig 'aptwebserver::support::last-modified' 'false' "$1"  # curl is clever and sees hits here also
+
        msgmsg 'Test with' "$1" 'and clean start'
        rm -rf rootdir/var/lib/apt/lists rootdir/var/lib/apt/lists.good
        # normal update works fine