]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-releasefile-verification
eipp: add Allow-Temporary-Remove-of-Essentials
[apt.git] / test / integration / test-releasefile-verification
index 217319cab91357d0c8adc1c077ee22ccdc92f298..500c7b0bdaf9b7bfc00f3654ff41c5a08758af31 100755 (executable)
@@ -414,6 +414,11 @@ runfailure() {
                testnopackage 'apt'
                testwarning aptget update --allow-insecure-repositories -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::gpgv=1
                failaptold
+               rm -rf rootdir/var/lib/apt/lists
+               sed -i 's#^deb\(-src\)\? #deb\1 [allow-insecure=yes] #' rootdir/etc/apt/sources.list.d/*
+               testwarning aptget update --no-allow-insecure-repositories -o Debug::pkgAcquire::Worker=1 -o Debug::Acquire::gpgv=1
+               failaptold
+               sed -i 's#^deb\(-src\)\? \[allow-insecure=yes\] #deb\1 #' rootdir/etc/apt/sources.list.d/*
 
                msgmsg 'Cold archive signed by' 'Marvin Paranoid'
                prepare "${PKGFILE}"