]> git.saurik.com Git - apt.git/blob - test/integration/skip-aptwebserver
merged lp:~mvo/apt/hash-order
[apt.git] / test / integration / skip-aptwebserver
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6
7 setupenvironment
8 configarchitecture 'amd64'
9
10 buildsimplenativepackage 'apt' 'all' '1.0' 'stable'
11
12 setupaptarchive
13 changetowebserver
14
15 rm -rf rootdir/var/lib/apt/lists
16 aptget update -qq
17 testequal 'Hit http://localhost stable InRelease
18 Hit http://localhost stable/main Sources
19 Hit http://localhost stable/main amd64 Packages
20 Hit http://localhost stable/main Translation-en
21 Reading package lists...' aptget update
22
23 mv rootdir/var/lib/apt/lists/localhost* rootdir/var/lib/apt/lists/partial
24 aptget update
25