summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug346386
blob: 57004f343f169b8da21db378612513c13e16fa90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework

setupenvironment
configarchitecture 'amd64'

buildsimplenativepackage 'apt' 'all' '1.0' 'stable'

setupaptarchive
simulatebrokenwebserver

rm -rf rootdir/var/lib/apt/lists
aptget update 
testequal 'partial' "$(ls rootdir/var/lib/apt/lists/)"