]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-pdiff-usage
Merge branch 'debian/sid' into bugfix/bts731738-fancy-progess
[apt.git] / test / integration / test-pdiff-usage
index 994489ee542eef68a95f862747bc2ad00be3eb2a..ac0563b7f8eed739a130f793741477bef4f3bca2 100755 (executable)
@@ -19,9 +19,7 @@ testequal "$(cat ${PKGFILE})
 " aptcache show apt oldstuff
 
 cp ${PKGFILE}-new aptarchive/Packages
-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'
 rm -rf aptarchive/Packages.diff
 mkdir -p aptarchive/Packages.diff
 PATCHFILE="aptarchive/Packages.diff/$(date +%Y-%m-%d-%H%M.%S)"