Explorar o código

test-indexes.sh: Just for paranoia, test that apt-cache is still working after apt-get update with previously existing indexes

martin@piware.de %!s(int64=16) %!d(string=hai) anos
pai
achega
eee5ab3cb4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      test/test-indexes.sh

+ 4 - 0
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 ====="