summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-simple
blob: ca969e61b59e988e1e359dc784139580d67cac37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'

insertpackage 'unstable' 'unrelated' 'all' '0.5~squeeze1'
insertsource 'unstable' 'unrelated' 'all' '0.5~squeeze1'

setupaptarchive --no-update
changetowebserver

testsuccess aptget update -o Debug::Acquire::Auth=1