]> git.saurik.com Git - apt.git/blame - test/integration/test-conflicts-real-multiarch-same
support multiple fingerprints in signed-by
[apt.git] / test / integration / test-conflicts-real-multiarch-same
CommitLineData
021626db
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
021626db
DK
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertpackage 'unstable' 'virtual-provider' 'amd64,i386' '2' 'Provides: virtual
10Conflicts: virtual
11Multi-Arch: same'
12insertpackage 'unstable' 'real' 'amd64,i386' '2' 'Conflicts: real
13Multi-Arch: same'
14insertpackage 'unstable' 'real-provider' 'amd64,i386' '2' 'Provides: real-provider
15Conflicts: real-provider
16Multi-Arch: same'
17setupaptarchive
18
25b86db1 19testsuccessequal "Reading package lists...
021626db
DK
20Building dependency tree...
21Note, selecting 'virtual-provider' instead of 'virtual'
22Note, selecting 'virtual-provider:i386' instead of 'virtual:i386'
23The following NEW packages will be installed:
24 virtual-provider virtual-provider:i386
250 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
26Inst virtual-provider (2 unstable [amd64])
27Inst virtual-provider:i386 (2 unstable [i386])
28Conf virtual-provider (2 unstable [amd64])
87d6947d 29Conf virtual-provider:i386 (2 unstable [i386])" aptget install virtual:* -s
021626db 30
25b86db1 31testsuccessequal 'Reading package lists...
021626db
DK
32Building dependency tree...
33The following NEW packages will be installed:
34 real real:i386
350 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
36Inst real (2 unstable [amd64])
37Inst real:i386 (2 unstable [i386])
38Conf real (2 unstable [amd64])
87d6947d 39Conf real:i386 (2 unstable [i386])' aptget install real:* -s
021626db
DK
40
41# ensure that we are not confused by the provides
25b86db1 42testsuccessequal 'Reading package lists...
021626db
DK
43Building dependency tree...
44The following NEW packages will be installed:
45 real-provider real-provider:i386
460 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
47Inst real-provider (2 unstable [amd64])
48Inst real-provider:i386 (2 unstable [i386])
49Conf real-provider (2 unstable [amd64])
87d6947d 50Conf real-provider:i386 (2 unstable [i386])' aptget install real-provider:* -s