]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-acquire-additional-files-duplicates
Merge commit 'e2073b0276226b625897ef475f225bf8f508719e' as 'triehash'
[apt.git] / test / integration / test-apt-acquire-additional-files-duplicates
index 8a919c01dccbc5abba5faa8b6d92d33c640f73bd..b0b6460fe3645344e4dae394a2fa3980d9fa37bd 100755 (executable)
@@ -48,6 +48,8 @@ ${APTLISTS}/example.org_debian_dists_stable_rocks_i18n_Translation-en" aptget in
 cat >> rootdir/etc/apt/sources.list <<EOF
 deb http://example.org/debian stable main rocks
 EOF
 cat >> rootdir/etc/apt/sources.list <<EOF
 deb http://example.org/debian stable main rocks
 EOF
+rm -r rootdir/var/cache/apt/*.bin
+testwarning aptcache gencaches
 testwarningequal "${APTLISTS}/example.org_debian_dists_stable_main_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_rocks_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_main_binary-amd64_Packages
 testwarningequal "${APTLISTS}/example.org_debian_dists_stable_main_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_rocks_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_main_binary-amd64_Packages
@@ -71,6 +73,8 @@ cat >> rootdir/etc/apt/sources.list <<EOF
 deb [target=Contents1,Contents2,Contentsflat arch=amd64] http://example.org/debian stable main rocks
 deb-src [target=Contents1,Contents2,Contentsflat arch=amd64] http://example.org/debian stable main rocks
 EOF
 deb [target=Contents1,Contents2,Contentsflat arch=amd64] http://example.org/debian stable main rocks
 deb-src [target=Contents1,Contents2,Contentsflat arch=amd64] http://example.org/debian stable main rocks
 EOF
+rm -r rootdir/var/cache/apt/*.bin
+testwarning aptcache gencaches
 testwarningequal "${APTLISTS}/example.org_debian_dists_stable_main_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_rocks_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_main_binary-amd64_Packages
 testwarningequal "${APTLISTS}/example.org_debian_dists_stable_main_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_rocks_source_Sources
 ${APTLISTS}/example.org_debian_dists_stable_main_binary-amd64_Packages