]> git.saurik.com Git - apt.git/blob - test/integration/test-implicit-conflicts-real-not-virtual
* apt-pkg/depcache.cc:
[apt.git] / test / integration / test-implicit-conflicts-real-not-virtual
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'amd64' 'i386'
8
9 insertpackage 'unstable-mp' 'crda' 'i386,amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda
10 Multi-Arch: foreign'
11 insertpackage 'unstable-m' 'crda' 'i386,amd64' '1.1.1-1ubuntu4m' 'Multi-Arch: foreign'
12 insertpackage 'unstable-p' 'crda' 'i386,amd64' '1.1.1-1ubuntu4p' 'Provides: wireless-crda'
13
14 insertinstalledpackage 'wireless-crda' 'amd64' '1.14'
15
16 setupaptarchive
17
18 testequal 'Reading package lists...
19 Building dependency tree...
20 The following NEW packages will be installed:
21 crda
22 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
23 Inst crda (1.1.1-1ubuntu4m unstable-m [amd64])
24 Conf crda (1.1.1-1ubuntu4m unstable-m [amd64])' aptget install crda -s -t unstable-m
25
26 testequal 'Reading package lists...
27 Building dependency tree...
28 The following NEW packages will be installed:
29 crda
30 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
31 Inst crda (1.1.1-1ubuntu4p unstable-p [amd64])
32 Conf crda (1.1.1-1ubuntu4p unstable-p [amd64])' aptget install crda -s -t unstable-p
33
34 testequal 'Reading package lists...
35 Building dependency tree...
36 The following NEW packages will be installed:
37 crda
38 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
39 Inst crda (1.1.1-1ubuntu4mp unstable-mp [amd64])
40 Conf crda (1.1.1-1ubuntu4mp unstable-mp [amd64])' aptget install crda -s -t unstable-mp