summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@canonical.com>2010-11-15 10:55:15 +0100
committerMartin Pitt <martin.pitt@canonical.com>2010-11-15 10:55:15 +0100
commit4aeda477e7fda33523ebc6a94668085f5047d593 (patch)
tree00a7e227a29d3654b4d471bd1ee854990f5b1a01 /test
parentf229813f60e33ce78f8cd0733a55c36a17a9adf3 (diff)
* test/integration/test-compressed-indexes, test/test-indexes.sh:
- Explicitly disable compressed indexes at the start. This ensures that we will actually test uncompressed indexes regardless of the internal default value of Acquire::GzipIndexes.
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