]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-679371-apt-get-autoclean-multiarch
Fix conffile prompt regression (LP: #1260297)
[apt.git] / test / integration / test-bug-679371-apt-get-autoclean-multiarch
... / ...
CommitLineData
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
17testsuccess aptget update
18testsuccess aptget install pkgall pkgnative pkgforeign -y
19
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
24
25testequal 'Reading package lists...
26Building dependency tree...
27Reading state information...' aptget autoclean -s