Procházet zdrojové kódy

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

martin@piware.de před 16 roky
rodič
revize
eee5ab3cb4
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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 ====="