]> git.saurik.com Git - apt.git/blame - test/integration/test-implicit-conflicts-real-not-virtual
rework hashsum verification in the acquire system
[apt.git] / test / integration / test-implicit-conflicts-real-not-virtual
CommitLineData
88a52816
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertpackage 'unstable-mp' 'crda' 'i386,amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda
10Multi-Arch: foreign'
11insertpackage 'unstable-m' 'crda' 'i386,amd64' '1.1.1-1ubuntu4m' 'Multi-Arch: foreign'
12insertpackage 'unstable-p' 'crda' 'i386,amd64' '1.1.1-1ubuntu4p' 'Provides: wireless-crda'
5f909b67
DK
13insertpackage 'unstable' 'wireless-crda' 'i386,amd64' '1.16'
14
88a52816
DK
15
16insertinstalledpackage 'wireless-crda' 'amd64' '1.14'
17
18setupaptarchive
19
25b86db1 20testsuccessequal 'Reading package lists...
88a52816
DK
21Building dependency tree...
22The following NEW packages will be installed:
23 crda
5f909b67 240 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
88a52816
DK
25Inst crda (1.1.1-1ubuntu4m unstable-m [amd64])
26Conf crda (1.1.1-1ubuntu4m unstable-m [amd64])' aptget install crda -s -t unstable-m
27
25b86db1 28testsuccessequal 'Reading package lists...
88a52816
DK
29Building dependency tree...
30The following NEW packages will be installed:
31 crda
5f909b67 320 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
88a52816
DK
33Inst crda (1.1.1-1ubuntu4p unstable-p [amd64])
34Conf crda (1.1.1-1ubuntu4p unstable-p [amd64])' aptget install crda -s -t unstable-p
35
25b86db1 36testsuccessequal 'Reading package lists...
88a52816
DK
37Building dependency tree...
38The following NEW packages will be installed:
39 crda
5f909b67 400 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
88a52816
DK
41Inst crda (1.1.1-1ubuntu4mp unstable-mp [amd64])
42Conf crda (1.1.1-1ubuntu4mp unstable-mp [amd64])' aptget install crda -s -t unstable-mp
5f909b67
DK
43
44rm rootdir/var/lib/dpkg/status
45insertinstalledpackage 'crda' 'amd64' '1.1.1-1ubuntu4mp' 'Provides: wireless-crda
46Conflicts: wireless-crda (<< 1.15)
47Replaces: wireless-crda ( << 1.15)
48Multi-arch: foreign'
49
25b86db1 50testsuccessequal 'Reading package lists...
5f909b67
DK
51Building dependency tree...
52The following NEW packages will be installed:
53 wireless-crda
540 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
55Inst wireless-crda (1.16 unstable [amd64])
56Conf wireless-crda (1.16 unstable [amd64])' aptget install wireless-crda -s -t unstable