summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-11-25 15:58:53 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-11-25 15:58:53 +0100
commit6ff4a64c8588a721cb1dfb8303864a6e20ccd76e (patch)
tree175c2de3783dfaf8d44b8322009f23fde640aead /test
parent08ded4d6a04d28c61a53fe550133b146752badfe (diff)
parentd88a49c830c2ea7e942125be37703bc411277ac1 (diff)
merged lp:~pitti/apt/compressed-indexes
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-compressed-indexes1
-rwxr-xr-xtest/test-indexes.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/test-compressed-indexes b/test/integration/test-compressed-indexes
index 97a1453f7..be33edbb7 100755
--- a/test/integration/test-compressed-indexes
+++ b/test/integration/test-compressed-indexes
@@ -69,6 +69,7 @@ testrun() {
rm -rf testpkg-1.0
}
+echo 'Acquire::GzipIndexes "false";' > rootdir/etc/apt/apt.conf.d/02compressindex
msgmsg "File: Test with uncompressed indexes"
testrun
diff --git a/test/test-indexes.sh b/test/test-indexes.sh
index 17363718d..50d54f691 100755
--- a/test/test-indexes.sh
+++ b/test/test-indexes.sh
@@ -144,6 +144,7 @@ echo '--- apt-cache show works without indexes'
! LC_MESSAGES=C $APT_CACHE show bash 2>&1| grep -q 'E: No packages found'
echo "===== uncompressed indexes ====="
+echo 'Acquire::GzipIndexes "false";' > etc/apt/apt.conf.d/02compress-indexes
check_update
check_indexes
check_cache