]> git.saurik.com Git - apt.git/blame - test/integration/test-ordering-ignore-not-matching-breaks
mark optional (private) symbols as hidden
[apt.git] / test / integration / test-ordering-ignore-not-matching-breaks
CommitLineData
cffabf7d
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'
13insertpackage 'unstable' 'wireless-crda' 'i386,amd64' '1.16'
14
15
16insertinstalledpackage 'wireless-crda' 'amd64' '1.14'
17
18setupaptarchive
19
20testequal 'Reading package lists...
21Building dependency tree...
22The following NEW packages will be installed:
23 crda
240 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
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
28testequal 'Reading package lists...
29Building dependency tree...
30The following NEW packages will be installed:
31 crda
320 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
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
36testequal 'Reading package lists...
37Building dependency tree...
38The following NEW packages will be installed:
39 crda
400 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
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
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
50testequal 'Reading package lists...
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