]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-multiarch-upgrade
simulate all package manager actions explicitly
[apt.git] / test / integration / test-bug-multiarch-upgrade
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
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
19testsuccessequal 'Reading package lists...
20Building dependency tree...
21The following additional packages will be installed:
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])
28Conf libcups2:i386 (2 unstable [i386])
29Conf libcups2 (2 unstable [amd64])' aptget install -s libcups2:i386