]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-handle-redirect-as-used-mirror-change
test, travis: Quieter testing with a new -qq mode
[apt.git] / test / integration / test-handle-redirect-as-used-mirror-change
index 2e8fbeff69a1020f6c3a1a4ff17755d4d280dd93..2655f713cf5517cd07910effce0b21b09b701fc5 100755 (executable)
@@ -78,3 +78,9 @@ testsuccessequal "Ign:1 http://0.0.0.0:${APTHTTPPORT}/storage unstable InRelease
   404  Not Found
 Hit:2 http://0.0.0.0:${APTHTTPPORT} unstable Release
 Reading package lists..." aptget update
+
+rm -rf rootdir/var/lib/apt/lists
+find aptarchive -name 'Release.gpg' -delete
+find aptarchive -name 'Release' -delete
+testwarning aptget update
+testsuccess grep 'does not have a Release file' rootdir/tmp/testwarning.output