]> git.saurik.com Git - apt.git/commitdiff
* test/integration/test-compressed-indexes, test/test-indexes.sh:
authorMartin Pitt <martin.pitt@canonical.com>
Mon, 15 Nov 2010 09:55:15 +0000 (10:55 +0100)
committerMartin Pitt <martin.pitt@canonical.com>
Mon, 15 Nov 2010 09:55:15 +0000 (10:55 +0100)
  - 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.

debian/changelog
test/integration/test-compressed-indexes
test/test-indexes.sh

index 2f95d2e002c0c38d2c355245e8859ddaf6cd93eb..71ca66100d568efb0c6185d9bd8eeb3d35f012e9 100644 (file)
@@ -8,6 +8,10 @@ apt (0.8.8ubuntu3) UNRELEASED; urgency=low
   * Add debian/apt.conf.changelog: Configuration for apt-changelog with the
     server for Ubuntu (changelogs.ubuntu.com). Install it in debian/rules.
   * doc/apt-changelog.1.xml: Document the new option.
+  * 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.
 
  -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 12 Nov 2010 16:53:31 +0100
 
index 97a1453f7deb22fa2861eeeab4ff23546e320f9c..be33edbb79793060a3a827a8729b8abb24e0f091 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 17363718d2f533f5e19f9a13b6607d655c1e1e3e..50d54f691545f98a6290bbb11a2e0214207fef1d 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