]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-multiarch-upgrade
The entire concept of PendingError() is flawed :/.
[apt.git] / test / integration / test-bug-multiarch-upgrade
CommitLineData
0dfc7eef
MV
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
0dfc7eef
MV
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertinstalledpackage 'libcups2' 'amd64' '1' 'Multi-Arch: same'
10insertinstalledpackage 'libcups2' 'i386' '1' 'Multi-Arch: same'
11
12insertpackage 'unstable' 'libcups2' 'amd64' '0' 'Multi-Arch: same'
13insertpackage 'unstable' 'libcups2' 'amd64' '2' 'Multi-Arch: same'
14insertpackage 'unstable' 'libcups2' 'i386' '0' 'Multi-Arch: same'
15insertpackage 'unstable' 'libcups2' 'i386' '2' 'Multi-Arch: same'
16
17setupaptarchive
18
25b86db1 19testsuccessequal 'Reading package lists...
0dfc7eef 20Building dependency tree...
e7ebb414 21The following additional packages will be installed:
0dfc7eef
MV
22 libcups2
23The following packages will be upgraded:
24 libcups2 libcups2:i386
252 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26Inst libcups2 [1] (2 unstable [amd64]) [libcups2:amd64 on libcups2:i386] [libcups2:i386 on libcups2:amd64] [libcups2:i386 ]
27Inst libcups2:i386 [1] (2 unstable [i386])
28557f94
DK
28Conf libcups2 (2 unstable [amd64])
29Conf libcups2:i386 (2 unstable [i386])' aptget install -s libcups2:i386