]> git.saurik.com Git - apt.git/blobdiff - test/libapt/run-tests
* apt-pkg/aptconfiguration.cc:
[apt.git] / test / libapt / run-tests
index 8cb2e049ca60edc4ef681858375a0d6db8b26263..5fff4ecca4a7be787c280af8b3b72189f1d5e3bf 100755 (executable)
@@ -64,7 +64,8 @@ do
                touch "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-tr" \
                        "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-pt" \
                        "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-se~" \
-                       "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-st.bak"
+                       "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-st.bak" \
+                       "${tmppath}/ftp.de.debian.org_debian_dists_sid_main_i18n_Translation-ast_DE"
        elif [ $name = "HashSums${EXT}" ]; then
                TMP="$(mktemp)"
                dmesg > $TMP
@@ -74,6 +75,35 @@ do
                continue
        elif [ $name = "CompareVersion${EXT}" ]; then
                tmppath="${DIR}/versions.lst"
+       elif [ $name = "CdromFindPackages${EXT}" ]; then
+               tmppath=$(mktemp -d)
+               mkdir -p "${tmppath}/.disk" "${tmppath}/pool" \
+                       "${tmppath}/dists/stable/main/binary-i386" \
+                       "${tmppath}/dists/stable/main/source" \
+                       "${tmppath}/dists/stable/contrib/binary-amd64" \
+                       "${tmppath}/dists/stable/contrib/binary-all" \
+                       "${tmppath}/dists/unstable/main/binary-i386" \
+                       "${tmppath}/dists/unstable/main/i18n" \
+                       "${tmppath}/dists/unstable/main/source" \
+                       "${tmppath}/dists/broken/non-free/source"
+               touch "${tmppath}/dists/broken/.aptignr" \
+                       "${tmppath}/dists/stable/main/binary-i386/Packages" \
+                       "${tmppath}/dists/stable/main/binary-i386/Packages.bz2" \
+                       "${tmppath}/dists/stable/main/source/Sources.xz" \
+                       "${tmppath}/dists/stable/contrib/binary-amd64/Packages" \
+                       "${tmppath}/dists/stable/contrib/binary-amd64/Packages.gz" \
+                       "${tmppath}/dists/stable/contrib/binary-all/Packages" \
+                       "${tmppath}/dists/unstable/main/binary-i386/Packages.xz" \
+                       "${tmppath}/dists/unstable/main/binary-i386/Packages.lzma" \
+                       "${tmppath}/dists/unstable/main/i18n/Translation-en" \
+                       "${tmppath}/dists/unstable/main/i18n/Translation-de.bz2" \
+                       "${tmppath}/dists/unstable/main/source/Sources.xz" \
+                       "${tmppath}/dists/broken/non-free/source/Sources.gz" \
+                       "${tmppath}/dists/stable/Release.gpg" \
+                       "${tmppath}/dists/stable/Release" \
+                       "${tmppath}/dists/unstable/InRelease" \
+                       "${tmppath}/dists/broken/Release.gpg"
+               ln -s "${tmppath}/dists/unstable" "${tmppath}/dists/sid"
        fi
 
        echo -n "Testing with ${NAME} "