]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-679371-apt-get-autoclean-multiarch
de-duplicate version strings in the cache
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
CommitLineData
469b0278
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9buildsimplenativepackage 'pkgall' 'all' '1' 'stable'
10buildsimplenativepackage 'pkgnative' 'amd64' '1' 'stable'
11buildsimplenativepackage 'pkgforeign' 'i386' '1' 'stable'
12
13setupaptarchive
14
15changetowebserver
16
0440d936
DK
17testsuccess aptget update
18testsuccess aptget install pkgall pkgnative pkgforeign -y
469b0278 19
18908589
DK
20# if we work with an old dpkg, pkgforeign will be listed differently,
21# so test with aptcache for install status instead
22testdpkginstalled pkgall pkgnative
23testsuccess aptcache show pkgforeign/installed
469b0278
DK
24
25testequal 'Reading package lists...
26Building dependency tree...
27Reading state information...' aptget autoclean -s