summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormartin@piware.de <>2010-06-17 13:38:42 +0200
committermartin@piware.de <>2010-06-17 13:38:42 +0200
commiteee5ab3cb4a20a26468e6a0dc78ca0706b2b4ec6 (patch)
treeb13cea4f6e914bc07c06eafbf5482680db39a025 /test
parent0b9032b180763ec974cdc918f93910540f05293a (diff)
test-indexes.sh: Just for paranoia, test that apt-cache is still working after apt-get update with previously existing indexes
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-indexes.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-indexes.sh b/test/test-indexes.sh
index 2c6ccfedf..84413d2dd 100755
--- a/test/test-indexes.sh
+++ b/test/test-indexes.sh
@@ -140,10 +140,12 @@ check_get_source
echo "--- apt-get update with preexisting indexes"
$APT_GET update
check_indexes
+check_cache
echo "--- apt-get update with preexisting indexes and pdiff mode"
$APT_GET -o Acquire::PDiffs=true update
check_indexes
+check_cache
echo "===== compressed indexes ====="
check_update -o Acquire::GzipIndexes=true
@@ -155,9 +157,11 @@ check_get_source
echo "--- apt-get update with preexisting indexes"
$APT_GET -o Acquire::GzipIndexes=true update
check_indexes compressed
+check_cache
echo "--- apt-get update with preexisting indexes and pdiff mode"
$APT_GET -o Acquire::GzipIndexes=true -o Acquire::PDiffs=true update
check_indexes compressed
+check_cache
echo "===== ALL TESTS PASSED ====="