]> git.saurik.com Git - apt.git/commitdiff
test-releasefile-verification: installaptold: Clean up before run
authorJulian Andres Klode <jak@debian.org>
Tue, 22 Nov 2016 23:26:00 +0000 (00:26 +0100)
committerJulian Andres Klode <jak@debian.org>
Wed, 23 Nov 2016 15:22:27 +0000 (16:22 +0100)
This is needed to make it possible to use installaptold multiple
times in a test case.

(originally part of commit 46e00c9062d09a642973e83a334483db1f310397)

test/integration/test-releasefile-verification

index ebdb4d6414fdfd8189eb3808a0b6a66f872bdf05..1b9b9512fdc11a03ffc44a77fdc4757948c99d8a 100755 (executable)
@@ -33,6 +33,7 @@ prepare() {
 }
 
 installaptold() {
+       rm -rf rootdir/var/cache/apt/archives
        testsuccessequal "Reading package lists...
 Building dependency tree...
 Suggested packages: