summaryrefslogtreecommitdiff
path: root/test/integration/test-pdiff-usage
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-28 12:46:49 +0200
committerMichael Vogt <mvo@debian.org>2013-08-28 12:46:49 +0200
commitdbf8fc0419831c83e83165de8c434782165aa400 (patch)
tree34d001d09adba9cded4658a506741e949827bfff /test/integration/test-pdiff-usage
parent2004d64720b396ae2dc9d2a7f6bf7859d6d7ee9b (diff)
parent45dc05ff2f51612945232dac469ac1c6926d4019 (diff)
Merge remote-tracking branch 'upstream/debian/sid' into feature/upgrade-with-new
Diffstat (limited to 'test/integration/test-pdiff-usage')
-rwxr-xr-xtest/integration/test-pdiff-usage4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/integration/test-pdiff-usage b/test/integration/test-pdiff-usage
index 994489ee5..ac0563b7f 100755
--- a/test/integration/test-pdiff-usage
+++ b/test/integration/test-pdiff-usage
@@ -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)"