blob: a5f50285338aa18da77f28b8a39e0fe3a1c1e172 (
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
changetowebserver --simulate-paywall
rm -rf rootdir/var/lib/apt/lists
aptget update
testequal 'partial' "$(ls rootdir/var/lib/apt/lists/)"
|