]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-hashsum-verification
implement suggestion by donkult (thanks!)
[apt.git] / test / integration / test-hashsum-verification
index 99ea8bffa709093932d9175ab2b0e2940afc4d23..e77efb46e37c5c2e353284190e38ef54788aae12 100755 (executable)
@@ -21,9 +21,7 @@ prepare() {
        done
        cp $1 aptarchive/Packages
        find aptarchive -name 'Release' -delete
-       cat aptarchive/Packages | gzip > aptarchive/Packages.gz
-       cat aptarchive/Packages | bzip2 > aptarchive/Packages.bz2
-       cat aptarchive/Packages | xz --format=lzma > aptarchive/Packages.lzma
+       compressfile aptarchive/Packages
         # create Release file with incorret checksums
        cat > aptarchive/Release <<EOF
 Date: Fri, 05 Aug 2011 09:22:08 UTC