]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-632221-cross-dependency-satisfaction
* apt-pkg/contrib/fileutl.cc:
[apt.git] / test / integration / test-bug-632221-cross-dependency-satisfaction
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'armel'
8
9insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
10
11insertpackage 'unstable' 'doxygen' 'amd64,armel' '1.0' 'Multi-Arch: foreign'
12insertpackage 'unstable' 'libc6' 'amd64,armel' '1.0' 'Multi-Arch: same'
13insertpackage 'unstable' 'libc6-dev' 'amd64,armel' '1.0' 'Depends: libc6
14Multi-Arch: same'
15insertpackage 'unstable' 'libfwibble1' 'amd64,armel' '1.0' 'Depends: libc6
16Multi-Arch: same'
17insertpackage 'unstable' 'libfwibble-dev' 'amd64,armel' '1.0' 'Depends: libfwibble1'
18insertpackage 'unstable' 'cool' 'amd64,armel' '1.0' 'Multi-Arch: allowed'
19insertpackage 'unstable' 'amdboot' 'amd64' '1.0'
20insertpackage 'unstable' 'foreigner' 'amd64,armel' '1.0' 'Multi-Arch: foreign'
21
22insertsource 'unstable' 'apt' 'any' '0.8.15' 'Build-Depends: doxygen, libc6-dev, libc6-dev:native, cool:any, amdboot:amd64, foreigner, libfwibble-dev'
23
24setupaptarchive
25
26testequal 'Reading package lists...
27Building dependency tree...
28The following NEW packages will be installed:
29 amdboot cool doxygen foreigner libc6 libc6-dev libfwibble-dev libfwibble1
300 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
31Inst amdboot (1.0 unstable [amd64])
32Inst cool (1.0 unstable [amd64])
33Inst doxygen (1.0 unstable [amd64])
34Inst foreigner (1.0 unstable [amd64])
35Inst libc6 (1.0 unstable [amd64])
36Inst libc6-dev (1.0 unstable [amd64])
37Inst libfwibble1 (1.0 unstable [amd64])
38Inst libfwibble-dev (1.0 unstable [amd64])
39Conf amdboot (1.0 unstable [amd64])
40Conf cool (1.0 unstable [amd64])
41Conf doxygen (1.0 unstable [amd64])
42Conf foreigner (1.0 unstable [amd64])
43Conf libc6 (1.0 unstable [amd64])
44Conf libc6-dev (1.0 unstable [amd64])
45Conf libfwibble1 (1.0 unstable [amd64])
46Conf libfwibble-dev (1.0 unstable [amd64])' aptget build-dep apt -s
47
48testequal 'Reading package lists...
49Building dependency tree...
50The following NEW packages will be installed:
51 amdboot cool doxygen foreigner libc6 libc6:armel libc6-dev libc6-dev:armel
52 libfwibble-dev:armel libfwibble1:armel
530 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
54Inst amdboot (1.0 unstable [amd64])
55Inst cool (1.0 unstable [amd64])
56Inst doxygen (1.0 unstable [amd64])
57Inst foreigner (1.0 unstable [amd64])
58Inst libc6 (1.0 unstable [amd64])
59Inst libc6:armel (1.0 unstable [armel])
60Inst libc6-dev (1.0 unstable [amd64])
61Inst libc6-dev:armel (1.0 unstable [armel])
62Inst libfwibble1:armel (1.0 unstable [armel])
63Inst libfwibble-dev:armel (1.0 unstable [armel])
64Conf amdboot (1.0 unstable [amd64])
65Conf cool (1.0 unstable [amd64])
66Conf doxygen (1.0 unstable [amd64])
67Conf foreigner (1.0 unstable [amd64])
68Conf libc6 (1.0 unstable [amd64])
69Conf libc6:armel (1.0 unstable [armel])
70Conf libc6-dev (1.0 unstable [amd64])
71Conf libc6-dev:armel (1.0 unstable [armel])
72Conf libfwibble1:armel (1.0 unstable [armel])
73Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel
74
75configarchitecture 'armel' 'amd64'
76
77testequal 'Reading package lists...
78Building dependency tree...
79The following NEW packages will be installed:
80 amdboot:amd64 cool doxygen foreigner libc6 libc6-dev libfwibble-dev
81 libfwibble1
820 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
83Inst amdboot:amd64 (1.0 unstable [amd64])
84Inst cool (1.0 unstable [armel])
85Inst doxygen (1.0 unstable [armel])
86Inst foreigner (1.0 unstable [armel])
87Inst libc6 (1.0 unstable [armel])
88Inst libc6-dev (1.0 unstable [armel])
89Inst libfwibble1 (1.0 unstable [armel])
90Inst libfwibble-dev (1.0 unstable [armel])
91Conf amdboot:amd64 (1.0 unstable [amd64])
92Conf cool (1.0 unstable [armel])
93Conf doxygen (1.0 unstable [armel])
94Conf foreigner (1.0 unstable [armel])
95Conf libc6 (1.0 unstable [armel])
96Conf libc6-dev (1.0 unstable [armel])
97Conf libfwibble1 (1.0 unstable [armel])
98Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s
99
100testequal 'Reading package lists...
101Building dependency tree...
102The following NEW packages will be installed:
103 amdboot:amd64 cool doxygen foreigner libc6:amd64 libc6 libc6-dev:amd64
104 libc6-dev libfwibble-dev:amd64 libfwibble1:amd64
1050 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
106Inst amdboot:amd64 (1.0 unstable [amd64])
107Inst cool (1.0 unstable [armel])
108Inst doxygen (1.0 unstable [armel])
109Inst foreigner (1.0 unstable [armel])
110Inst libc6:amd64 (1.0 unstable [amd64])
111Inst libc6 (1.0 unstable [armel])
112Inst libc6-dev:amd64 (1.0 unstable [amd64])
113Inst libc6-dev (1.0 unstable [armel])
114Inst libfwibble1:amd64 (1.0 unstable [amd64])
115Inst libfwibble-dev:amd64 (1.0 unstable [amd64])
116Conf amdboot:amd64 (1.0 unstable [amd64])
117Conf cool (1.0 unstable [armel])
118Conf doxygen (1.0 unstable [armel])
119Conf foreigner (1.0 unstable [armel])
120Conf libc6:amd64 (1.0 unstable [amd64])
121Conf libc6 (1.0 unstable [armel])
122Conf libc6-dev:amd64 (1.0 unstable [amd64])
123Conf libc6-dev (1.0 unstable [armel])
124Conf libfwibble1:amd64 (1.0 unstable [amd64])
125Conf libfwibble-dev:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64
126
127configarchitecture 'amd64' 'armel'
128
129insertinstalledpackage 'cool' 'amd64' '0.5'
130insertinstalledpackage 'foreigner' 'armel' '0.5'
131
132testequal 'Reading package lists...
133Building dependency tree...
134The following NEW packages will be installed:
135 amdboot doxygen libc6 libc6-dev libfwibble-dev libfwibble1
1360 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
137Inst amdboot (1.0 unstable [amd64])
138Inst doxygen (1.0 unstable [amd64])
139Inst libc6 (1.0 unstable [amd64])
140Inst libc6-dev (1.0 unstable [amd64])
141Inst libfwibble1 (1.0 unstable [amd64])
142Inst libfwibble-dev (1.0 unstable [amd64])
143Conf amdboot (1.0 unstable [amd64])
144Conf doxygen (1.0 unstable [amd64])
145Conf libc6 (1.0 unstable [amd64])
146Conf libc6-dev (1.0 unstable [amd64])
147Conf libfwibble1 (1.0 unstable [amd64])
148Conf libfwibble-dev (1.0 unstable [amd64])' aptget build-dep apt -s
149
150testequal 'Reading package lists...
151Building dependency tree...
152The following NEW packages will be installed:
153 amdboot doxygen libc6 libc6:armel libc6-dev libc6-dev:armel
154 libfwibble-dev:armel libfwibble1:armel
1550 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
156Inst amdboot (1.0 unstable [amd64])
157Inst doxygen (1.0 unstable [amd64])
158Inst libc6 (1.0 unstable [amd64])
159Inst libc6:armel (1.0 unstable [armel])
160Inst libc6-dev (1.0 unstable [amd64])
161Inst libc6-dev:armel (1.0 unstable [armel])
162Inst libfwibble1:armel (1.0 unstable [armel])
163Inst libfwibble-dev:armel (1.0 unstable [armel])
164Conf amdboot (1.0 unstable [amd64])
165Conf doxygen (1.0 unstable [amd64])
166Conf libc6 (1.0 unstable [amd64])
167Conf libc6:armel (1.0 unstable [armel])
168Conf libc6-dev (1.0 unstable [amd64])
169Conf libc6-dev:armel (1.0 unstable [armel])
170Conf libfwibble1:armel (1.0 unstable [armel])
171Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel
172
173configarchitecture 'armel' 'amd64'
174
175# cool 0.5 is not M-A: allowed, so amd64 is not acceptable
176testequal 'Reading package lists...
177Building dependency tree...
178The following packages will be REMOVED:
179 cool:amd64
180The following NEW packages will be installed:
181 amdboot:amd64 cool doxygen libc6 libc6-dev libfwibble-dev libfwibble1
1820 upgraded, 7 newly installed, 1 to remove and 1 not upgraded.
183Remv cool:amd64 [0.5]
184Inst amdboot:amd64 (1.0 unstable [amd64])
185Inst cool (1.0 unstable [armel])
186Inst doxygen (1.0 unstable [armel])
187Inst libc6 (1.0 unstable [armel])
188Inst libc6-dev (1.0 unstable [armel])
189Inst libfwibble1 (1.0 unstable [armel])
190Inst libfwibble-dev (1.0 unstable [armel])
191Conf amdboot:amd64 (1.0 unstable [amd64])
192Conf cool (1.0 unstable [armel])
193Conf doxygen (1.0 unstable [armel])
194Conf libc6 (1.0 unstable [armel])
195Conf libc6-dev (1.0 unstable [armel])
196Conf libfwibble1 (1.0 unstable [armel])
197Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s
198
199testequal 'Reading package lists...
200Building dependency tree...
201The following NEW packages will be installed:
202 amdboot:amd64 doxygen libc6:amd64 libc6 libc6-dev:amd64 libc6-dev
203 libfwibble-dev:amd64 libfwibble1:amd64
2040 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
205Inst amdboot:amd64 (1.0 unstable [amd64])
206Inst doxygen (1.0 unstable [armel])
207Inst libc6:amd64 (1.0 unstable [amd64])
208Inst libc6 (1.0 unstable [armel])
209Inst libc6-dev:amd64 (1.0 unstable [amd64])
210Inst libc6-dev (1.0 unstable [armel])
211Inst libfwibble1:amd64 (1.0 unstable [amd64])
212Inst libfwibble-dev:amd64 (1.0 unstable [amd64])
213Conf amdboot:amd64 (1.0 unstable [amd64])
214Conf doxygen (1.0 unstable [armel])
215Conf libc6:amd64 (1.0 unstable [amd64])
216Conf libc6 (1.0 unstable [armel])
217Conf libc6-dev:amd64 (1.0 unstable [amd64])
218Conf libc6-dev (1.0 unstable [armel])
219Conf libfwibble1:amd64 (1.0 unstable [amd64])
220Conf libfwibble-dev:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64
221
222