]> git.saurik.com Git - apt.git/blob - test/integration/test-apt-update-simple
generalize secure->insecure downgrade protection
[apt.git] / test / integration / test-apt-update-simple
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture 'amd64'
8
9 insertpackage 'unstable' 'unrelated' 'all' '0.5~squeeze1'
10 insertsource 'unstable' 'unrelated' 'all' '0.5~squeeze1'
11
12 setupaptarchive --no-update
13 changetowebserver
14
15 testsuccess aptget update -o Debug::Acquire::Auth=1