summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-09-17 15:21:31 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-09-17 15:21:31 +0200
commit3f7c0d7ddf530cbc3cf2d919145405881e61d6ca (patch)
tree8e4d40762bf2dc782af00aff9acf2af3fa1af228 /test/integration
parent3fa61cd604da1a4d744cebf3fbb747bf7c80bf91 (diff)
add missing configcompression
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/framework14
-rwxr-xr-x[-rw-r--r--]test/integration/test-apt-get-source-authenticated0
2 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 8a630a22c..13f03a201 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -220,6 +220,20 @@ configdpkg() {
fi
}
+configcompression() {
+ while [ -n "$1" ]; do
+ case "$1" in
+ '.') printf ".\t.\tcat\n";;
+ 'gz') printf "gzip\tgz\tgzip\n";;
+ 'bz2') printf "bzip2\tbz2\tbzip2\n";;
+ 'lzma') printf "lzma\tlzma\txz --format=lzma\n";;
+ 'xz') printf "xz\txz\txz\n";;
+ *) printf "$1\t$1\t$1\n";;
+ esac
+ shift
+ done > ${TMPWORKINGDIRECTORY}/rootdir/etc/testcase-compressor.conf
+}
+
setupsimplenativepackage() {
local NAME="$1"
local ARCH="$2"
diff --git a/test/integration/test-apt-get-source-authenticated b/test/integration/test-apt-get-source-authenticated
index 2cee13923..2cee13923 100644..100755
--- a/test/integration/test-apt-get-source-authenticated
+++ b/test/integration/test-apt-get-source-authenticated