]> git.saurik.com Git - apt.git/blame - 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
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
17aptget update -qq
18aptget install pkgall pkgnative pkgforeign -y -qq > /dev/null
19
20testdpkginstalled pkgall pkgnative pkgforeign
21
22testequal 'Reading package lists...
23Building dependency tree...
24Reading state information...' aptget autoclean -s