]> git.saurik.com Git - apt.git/blame - test/integration/test-ubuntu-bug-835625-multiarch-lockstep-installed-first
* apt-pkg/deb/deblistparser.cc:
[apt.git] / test / integration / test-ubuntu-bug-835625-multiarch-lockstep-installed-first
CommitLineData
30426f48
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertinstalledpackage 'libsame' 'i386' '1'
10insertinstalledpackage 'apt' 'i386' '1' 'Depends: libsame (= 1)'
11
12insertpackage 'unstable' 'libsame' 'i386,amd64' '2' 'Multi-Arch: same'
13insertpackage 'unstable' 'apt' 'i386' '2' 'Depends: libsame (= 2)'
14
15setupaptarchive
16
17testequal 'Reading package lists...
18Building dependency tree...
19The following extra packages will be installed:
20 apt:i386 libsame:i386
21The following NEW packages will be installed:
22 libsame
23The following packages will be upgraded:
24 apt:i386 libsame:i386
252 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
26Inst libsame:i386 [1] (2 unstable [i386]) [apt:i386 ]
27Inst libsame (2 unstable [amd64]) [apt:i386 ]
28Conf libsame:i386 (2 unstable [i386]) [apt:i386 ]
29Conf libsame (2 unstable [amd64]) [apt:i386 ]
30Inst apt:i386 [1] (2 unstable [i386])
31Conf apt:i386 (2 unstable [i386])' aptget install libsame:amd64 -s