]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-conflicts-real-multiarch-same
require explicit paths to dsc/control as we do for deb files
[apt.git] / test / integration / test-conflicts-real-multiarch-same
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
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
19testsuccessequal "Reading package lists...
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])
29Conf virtual-provider:i386 (2 unstable [i386])" aptget install virtual:* -s
30
31testsuccessequal 'Reading package lists...
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])
39Conf real:i386 (2 unstable [i386])' aptget install real:* -s
40
41# ensure that we are not confused by the provides
42testsuccessequal 'Reading package lists...
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])
50Conf real-provider:i386 (2 unstable [i386])' aptget install real-provider:* -s