merged from lp:~pitti/apt/compressed-indexes
authorMichael Vogt <mvo@debian.org>
Thu, 25 Nov 2010 15:08:40 +0000 (16:08 +0100)
committerMichael Vogt <mvo@debian.org>
Thu, 25 Nov 2010 15:08:40 +0000 (16:08 +0100)
debian/changelog
test/integration/test-compressed-indexes
test/test-indexes.sh

index df4fc1a..a786d43 100644 (file)
@@ -1,3 +1,13 @@
+apt (0.8.10) UNRELEASED; urgency=low
+
+  [ Martin Pitt ]
+  * 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.
+
+ -- Michael Vogt <mvo@debian.org>  Thu, 25 Nov 2010 16:08:01 +0100
+
 apt (0.8.9) unstable; urgency=low
 
   [ Christian Perrier ]
index 97a1453..be33edb 100755 (executable)
@@ -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
 
index 1736371..50d54f6 100755 (executable)
@@ -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