]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-releasefile-verification
* cmdline/apt-get.cc:
[apt.git] / test / integration / test-releasefile-verification
index 961c498950dc716fc3b85b6744e13dc82f3c6fab..8bf02a78fbdc8e642ccf65773c666d04faf47298 100755 (executable)
@@ -19,8 +19,7 @@ prepare() {
        for release in $(find rootdir/var/lib/apt/lists 2> /dev/null); do
                touch -d 'now - 6 hours' $release
        done
-       rm -rf rootdir/var/cache/apt/archives
-       rm -f rootdir/var/cache/apt/*.bin
+       aptget clean
        cp $1 aptarchive/Packages
        find aptarchive -name 'Release' -delete
        cat aptarchive/Packages | gzip > aptarchive/Packages.gz