summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-679371-apt-get-autoclean-multiarch
blob: b62d437aa608d7907afcbcf48e2c902bcfb88241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
set -e

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

buildsimplenativepackage 'pkgall' 'all' '1' 'stable'
buildsimplenativepackage 'pkgnative' 'amd64' '1' 'stable'
buildsimplenativepackage 'pkgforeign' 'i386' '1' 'stable'

setupaptarchive

changetowebserver

testsuccess aptget update
testsuccess aptget install pkgall pkgnative pkgforeign -y

testdpkginstalled pkgall pkgnative pkgforeign

testequal 'Reading package lists...
Building dependency tree...
Reading state information...' aptget autoclean -s