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