]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-update-unauth
3 # Ensure that when going from unauthenticated to authenticated all
4 # files are checked again
8 TESTDIR
=$(readlink -f $(dirname $0))
12 configarchitecture
"i386"
14 insertpackage
'unstable' 'foo' 'all' '1.0'
15 insertsource
'unstable' 'foo' 'all' '1.0'
21 # start unauthenticated
22 find rootdir
/var
/lib
/apt
/lists
/ -type f
| xargs rm -f
23 rm -f aptarchive
/dists
/unstable
/*Release
*
26 # become authenticated
30 # and ensure we do download the data again
31 msgtest
"Check that the data is check when going to authenticated"
32 if aptget update
|grep -q Hit
; then
39 for COMPRESSEDINDEXES
in 'false' 'true'; do
40 echo "Acquire::GzipIndexes \"$COMPRESSEDINDEXES\";" > rootdir
/etc
/apt
/apt.conf.d
/compressindexes
41 if $COMPRESSEDINDEXES; then
42 msgmsg
'Run tests with GzipIndexes enabled'
44 msgmsg
'Run tests with GzipIndexes disabled'