]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-679371-apt-get-autoclean-multiarch
merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade is used...
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'amd64' 'i386'
8
9 buildsimplenativepackage 'pkgall' 'all' '1' 'stable'
10 buildsimplenativepackage 'pkgnative' 'amd64' '1' 'stable'
11 buildsimplenativepackage 'pkgforeign' 'i386' '1' 'stable'
12
13 setupaptarchive
14
15 changetowebserver
16
17 aptget update -qq
18 aptget install pkgall pkgnative pkgforeign -y -qq > /dev/null
19
20 testdpkginstalled pkgall pkgnative pkgforeign
21
22 testequal 'Reading package lists...
23 Building dependency tree...
24 Reading state information...' aptget autoclean -s