]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-618288-multiarch-same-lockstep
merged from debian-sid
[apt.git] / test / integration / test-bug-618288-multiarch-same-lockstep
CommitLineData
d77b985a
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertinstalledpackage 'libsame' 'i386,amd64' '1' 'Multi-Arch: same' 'required'
10insertinstalledpackage 'apt' 'i386' '1' 'Depends: libsame (= 1)
11Essential: yes' 'required'
12insertinstalledpackage 'apt2' 'amd64' '1' 'Depends: libsame (= 1)
13Essential: yes' 'required'
14buildsimplenativepackage 'libsame' 'i386,amd64' '2' 'unstable' 'Multi-Arch: same' '' 'required'
15buildsimplenativepackage 'apt' 'i386' '2' 'unstable' 'Depends: libsame (= 2)' '' 'required'
16buildsimplenativepackage 'apt2' 'amd64' '2' 'unstable' 'Depends: libsame (= 2)' '' 'required'
17
18setupaptarchive
19
75a90b93
DK
20# order in switch libsame:{amd64,i386} are unpacked is irrelevant, as both are installed - but we need to do it together
21testequalor2 'Reading package lists...
d77b985a
DK
22Building dependency tree...
23The following packages will be upgraded:
24 apt:i386 apt2 libsame libsame:i386
254 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
30426f48
DK
26Inst libsame:i386 [1] (2 unstable [i386]) [libsame:amd64 on libsame:i386] [libsame:i386 on libsame:amd64] [libsame:amd64 apt:i386 ]
27Inst libsame [1] (2 unstable [amd64]) [apt2:amd64 apt:i386 ]
d77b985a
DK
28Conf libsame:i386 (2 unstable [i386]) [apt2:amd64 apt:i386 ]
29Conf libsame (2 unstable [amd64]) [apt2:amd64 apt:i386 ]
30Inst apt2 [1] (2 unstable [amd64]) [apt:i386 ]
31Conf apt2 (2 unstable [amd64]) [apt:i386 ]
32Inst apt:i386 [1] (2 unstable [i386])
75a90b93 33Conf apt:i386 (2 unstable [i386])' 'Reading package lists...
d77b985a
DK
34Building dependency tree...
35The following packages will be upgraded:
36 apt:i386 apt2 libsame libsame:i386
374 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
38Inst libsame [1] (2 unstable [amd64]) [libsame:amd64 on libsame:i386] [libsame:i386 on libsame:amd64] [libsame:i386 apt2:amd64 ]
39Inst libsame:i386 [1] (2 unstable [i386]) [apt2:amd64 apt:i386 ]
40Conf libsame:i386 (2 unstable [i386]) [apt2:amd64 apt:i386 ]
41Conf libsame (2 unstable [amd64]) [apt2:amd64 apt:i386 ]
42Inst apt2 [1] (2 unstable [amd64]) [apt:i386 ]
43Conf apt2 (2 unstable [amd64]) [apt:i386 ]
44Inst apt:i386 [1] (2 unstable [i386])
45Conf apt:i386 (2 unstable [i386])' aptget dist-upgrade -s