]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-601016-description-translation
merge with debian/experimental
[apt.git] / test / integration / test-bug-601016-description-translation
index a31e42ee1735c1c22271a1e8ce98e065d8717fce..2a323a201b84ec2386f0169431fee27f1a18e655 100755 (executable)
@@ -57,6 +57,7 @@ Description-${LOCALE}: Mächtige Oberfläche für dpkg
 testrun() {
        echo "Acquire::Languages { \"${LOCALE}\"; \"en\"; };" > rootdir/etc/apt/apt.conf.d/00languages
        export LC_ALL=""
 testrun() {
        echo "Acquire::Languages { \"${LOCALE}\"; \"en\"; };" > rootdir/etc/apt/apt.conf.d/00languages
        export LC_ALL=""
+       rm -rf rootdir/var/lib/apt/lists rootdir/var/cache/apt/
        setupaptarchive
        testequal "$LOCALESTANZA" aptcache show apt -o Test=File-${LOCALE}
        testequal "$NOLONGSTANZA" aptcache show apt -o Acquire::Languages="ww" -o Test=File-${LOCALE}
        setupaptarchive
        testequal "$LOCALESTANZA" aptcache show apt -o Test=File-${LOCALE}
        testequal "$NOLONGSTANZA" aptcache show apt -o Acquire::Languages="ww" -o Test=File-${LOCALE}