]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-file
don't cleanup cdrom files in apt-get update
[apt.git] / test / integration / test-apt-update-file
index e267c71da6dae5c6323daeedd3459ca4257d4f8c..fbcd473ccb70cdb96167d58b02451dbb852daa26 100755 (executable)
@@ -29,6 +29,8 @@ aptget update -qq -o Debug::pkgAcquire::Auth=1 2> output.log
 canary="SHA512:$(bzcat aptarchive/dists/unstable/main/binary-amd64/Packages.bz2 | sha512sum |cut -f1 -d' ')"
 grep -q "RecivedHash: $canary" output.log
 
 canary="SHA512:$(bzcat aptarchive/dists/unstable/main/binary-amd64/Packages.bz2 | sha512sum |cut -f1 -d' ')"
 grep -q "RecivedHash: $canary" output.log
 
+# foo is still available
+testsuccess aptget install -s foo
 
 # the cleanup should still work
 chmod 750 aptarchive/dists/unstable/main/binary-amd64
 
 # the cleanup should still work
 chmod 750 aptarchive/dists/unstable/main/binary-amd64