]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-624218-Translation-file-handling
Only support Translation-* that are listed in the {In,}Release file
[apt.git] / test / integration / test-bug-624218-Translation-file-handling
index d3c5b08ac2ad65b2a6424131f943ed5cd0eea2ea..4ec30ee0954d4ec987183458aa65b082b0404751 100755 (executable)
@@ -47,16 +47,9 @@ translationslisted() {
 translationslisted 'with full Index'
 
 
-# only compressed files available (as it happens on CD-ROM)
-sed -i '/i18n\/Translation-[^.]*$/ d' $(find aptarchive -name 'Release')
-signreleasefiles
-
-translationslisted 'with partial Index'
-
-
 # no records at all about Translation files (fallback to guessing)
-sed -i '/i18n\/Translation-.*$/ d' $(find aptarchive -name 'Release')
-signreleasefiles
+find aptarchive -name 'Release' -or -name 'InRelease' | xargs rm -f
+configallowinsecurerepositories "true";
 
 msgtest 'Download of en as forced language' 'without Index'
 aptget update -o Acquire::Languages=en | grep -q -e 'Translation-en ' && msgpass || msgfail