]> git.saurik.com Git - apt.git/commitdiff
add gzip test and todo
authorMichael Vogt <mvo@debian.org>
Fri, 1 Aug 2014 15:20:19 +0000 (17:20 +0200)
committerMichael Vogt <mvo@debian.org>
Fri, 1 Aug 2014 15:20:19 +0000 (17:20 +0200)
test/integration/test-apt-update-rollback
test/integration/test-hashsum-verification

index 24027787e9d461a1c08d85047f8a845850db16f7..ccd7f57ff386c88bde9fc745dd180c152bc98dc0 100755 (executable)
@@ -185,6 +185,10 @@ APTARCHIVE_LISTS="$(echo $APTARCHIVE | tr "/" "_" )"
 # going from Release/Release.gpg -> InRelease and vice versa
 # - unauthenticated -> invalid InRelease
 
+# stuff to do:
+# - ims-hit 
+# - gzip-index tests
+
 test_inrelease_to_new_inrelease
 test_inrelease_to_broken_hash_reverts_all
 test_inreleae_to_valid_release
index e77efb46e37c5c2e353284190e38ef54788aae12..70bf1b4761b90d0c89181e1d4cd4919e1ed21cf6 100755 (executable)
@@ -75,5 +75,13 @@ runtest() {
 
 }
 
-runtest
-
+for COMPRESSEDINDEXES in 'false' 'true'; do
+       echo "Acquire::GzipIndexes \"$COMPRESSEDINDEXES\";" > rootdir/etc/apt/apt.conf.d/compressindexes
+       if $COMPRESSEDINDEXES; then
+               msgmsg 'Run tests with GzipIndexes enabled'
+       else
+               msgmsg 'Run tests with GzipIndexes disabled'
+       fi
+        runtest
+done