]>
Commit | Line | Data |
---|---|---|
234675b7 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture 'amd64' 'armel' | |
8 | ||
737c7a7b | 9 | insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign' |
234675b7 | 10 | |
737c7a7b | 11 | insertpackage 'unstable' 'doxygen' 'amd64,armel' '1.0' 'Multi-Arch: foreign' |
234675b7 DK |
12 | insertpackage 'unstable' 'libc6' 'amd64,armel' '1.0' 'Multi-Arch: same' |
13 | insertpackage 'unstable' 'libc6-dev' 'amd64,armel' '1.0' 'Depends: libc6 | |
14 | Multi-Arch: same' | |
737c7a7b SL |
15 | insertpackage 'unstable' 'libfwibble1' 'amd64,armel' '1.0' 'Depends: libc6 |
16 | Multi-Arch: same' | |
17 | insertpackage 'unstable' 'libfwibble-dev' 'amd64,armel' '1.0' 'Depends: libfwibble1' | |
234675b7 DK |
18 | insertpackage 'unstable' 'cool' 'amd64,armel' '1.0' 'Multi-Arch: allowed' |
19 | insertpackage 'unstable' 'amdboot' 'amd64' '1.0' | |
20 | insertpackage 'unstable' 'foreigner' 'amd64,armel' '1.0' 'Multi-Arch: foreign' | |
65f99834 DK |
21 | insertpackage 'unstable' 'arm-stuff' 'armel' '1.0' |
22 | insertpackage 'unstable' 'linux-stuff' 'amd64,armel' '1.0' | |
234675b7 | 23 | |
5f20ac7f | 24 | insertsource 'unstable' 'apt' 'any' '0.8.15' 'Build-Depends: doxygen, libc6-dev, libc6-dev:native, cool:any, amdboot:amd64, foreigner, libfwibble-dev, arm-stuff [any-armel] | linux-stuff [ linux-any]' |
234675b7 | 25 | |
d5dea0be DK |
26 | insertsource 'unstable' 'forbidden-none' 'any' '1' 'Build-Depends: amdboot:any' |
27 | insertsource 'unstable' 'forbidden-same' 'any' '1' 'Build-Depends: libc6:any' | |
28 | insertsource 'unstable' 'forbidden-foreign' 'any' '1' 'Build-Depends: doxygen:any' | |
29 | ||
249a02f5 DK |
30 | insertpackage 'unstable' 'specific' 'amd64' '1.0' 'Depends: libc6:amd64' |
31 | insertpackage 'unstable' 'specific' 'armel' '1.0' 'Depends: libc6:armel' | |
32 | ||
33 | insertsource 'unstable' 'source-specific-amd64' 'amd64' '1' 'Build-Depends: specific:amd64' | |
34 | insertsource 'unstable' 'source-specific-armel' 'armel' '1' 'Build-Depends: specific:armel' | |
35 | ||
234675b7 DK |
36 | setupaptarchive |
37 | ||
25b86db1 | 38 | testfailureequal "Reading package lists... |
d5dea0be DK |
39 | Building dependency tree... |
40 | E: Build-Depends dependency for forbidden-none can't be satisfied because amdboot:any is not allowed on 'Multi-Arch: none' packages" aptget build-dep forbidden-none -s -a armel | |
25b86db1 | 41 | testfailureequal "Reading package lists... |
d5dea0be DK |
42 | Building dependency tree... |
43 | E: Build-Depends dependency for forbidden-same can't be satisfied because libc6:any is not allowed on 'Multi-Arch: same' packages" aptget build-dep forbidden-same -s -a armel | |
25b86db1 | 44 | testfailureequal "Reading package lists... |
d5dea0be DK |
45 | Building dependency tree... |
46 | E: Build-Depends dependency for forbidden-foreign can't be satisfied because doxygen:any is not allowed on 'Multi-Arch: foreign' packages" aptget build-dep forbidden-foreign -s -a armel | |
47 | ||
25b86db1 | 48 | testsuccessequal 'Reading package lists... |
249a02f5 DK |
49 | Building dependency tree... |
50 | The following NEW packages will be installed: | |
51 | libc6 specific | |
52 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
53 | Inst libc6 (1.0 unstable [amd64]) | |
54 | Inst specific (1.0 unstable [amd64]) | |
55 | Conf libc6 (1.0 unstable [amd64]) | |
56 | Conf specific (1.0 unstable [amd64])' aptget build-dep source-specific-amd64 -s | |
25b86db1 | 57 | testsuccessequal 'Reading package lists... |
249a02f5 DK |
58 | Building dependency tree... |
59 | The following NEW packages will be installed: | |
60 | libc6 specific | |
61 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
62 | Inst libc6 (1.0 unstable [amd64]) | |
63 | Inst specific (1.0 unstable [amd64]) | |
64 | Conf libc6 (1.0 unstable [amd64]) | |
65 | Conf specific (1.0 unstable [amd64])' aptget build-dep source-specific-amd64 -s -a armel | |
666faa35 | 66 | |
25b86db1 | 67 | testsuccessequal 'Reading package lists... |
249a02f5 DK |
68 | Building dependency tree... |
69 | The following NEW packages will be installed: | |
70 | libc6:armel specific:armel | |
71 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
72 | Inst libc6:armel (1.0 unstable [armel]) | |
73 | Inst specific:armel (1.0 unstable [armel]) | |
74 | Conf libc6:armel (1.0 unstable [armel]) | |
75 | Conf specific:armel (1.0 unstable [armel])' aptget build-dep source-specific-armel -s | |
25b86db1 | 76 | testsuccessequal 'Reading package lists... |
249a02f5 DK |
77 | Building dependency tree... |
78 | The following NEW packages will be installed: | |
79 | libc6:armel specific:armel | |
80 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
81 | Inst libc6:armel (1.0 unstable [armel]) | |
82 | Inst specific:armel (1.0 unstable [armel]) | |
83 | Conf libc6:armel (1.0 unstable [armel]) | |
84 | Conf specific:armel (1.0 unstable [armel])' aptget build-dep source-specific-armel -s -a armel | |
85 | ||
25b86db1 | 86 | testsuccessequal 'Reading package lists... |
234675b7 DK |
87 | Building dependency tree... |
88 | The following NEW packages will be installed: | |
737c7a7b | 89 | amdboot cool doxygen foreigner libc6 libc6-dev libfwibble-dev libfwibble1 |
65f99834 DK |
90 | linux-stuff |
91 | 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 DK |
92 | Inst amdboot (1.0 unstable [amd64]) |
93 | Inst cool (1.0 unstable [amd64]) | |
94 | Inst doxygen (1.0 unstable [amd64]) | |
95 | Inst foreigner (1.0 unstable [amd64]) | |
96 | Inst libc6 (1.0 unstable [amd64]) | |
97 | Inst libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
98 | Inst libfwibble1 (1.0 unstable [amd64]) |
99 | Inst libfwibble-dev (1.0 unstable [amd64]) | |
65f99834 | 100 | Inst linux-stuff (1.0 unstable [amd64]) |
234675b7 DK |
101 | Conf amdboot (1.0 unstable [amd64]) |
102 | Conf cool (1.0 unstable [amd64]) | |
103 | Conf doxygen (1.0 unstable [amd64]) | |
104 | Conf foreigner (1.0 unstable [amd64]) | |
105 | Conf libc6 (1.0 unstable [amd64]) | |
737c7a7b SL |
106 | Conf libc6-dev (1.0 unstable [amd64]) |
107 | Conf libfwibble1 (1.0 unstable [amd64]) | |
65f99834 DK |
108 | Conf libfwibble-dev (1.0 unstable [amd64]) |
109 | Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s | |
234675b7 | 110 | |
25b86db1 | 111 | testsuccessequal 'Reading package lists... |
234675b7 DK |
112 | Building dependency tree... |
113 | The following NEW packages will be installed: | |
65f99834 DK |
114 | amdboot arm-stuff:armel cool doxygen foreigner libc6 libc6:armel libc6-dev |
115 | libc6-dev:armel libfwibble-dev:armel libfwibble1:armel | |
116 | 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 | 117 | Inst amdboot (1.0 unstable [amd64]) |
65f99834 | 118 | Inst arm-stuff:armel (1.0 unstable [armel]) |
234675b7 DK |
119 | Inst cool (1.0 unstable [amd64]) |
120 | Inst doxygen (1.0 unstable [amd64]) | |
121 | Inst foreigner (1.0 unstable [amd64]) | |
234675b7 | 122 | Inst libc6 (1.0 unstable [amd64]) |
30426f48 | 123 | Inst libc6:armel (1.0 unstable [armel]) |
234675b7 | 124 | Inst libc6-dev (1.0 unstable [amd64]) |
30426f48 | 125 | Inst libc6-dev:armel (1.0 unstable [armel]) |
737c7a7b SL |
126 | Inst libfwibble1:armel (1.0 unstable [armel]) |
127 | Inst libfwibble-dev:armel (1.0 unstable [armel]) | |
234675b7 | 128 | Conf amdboot (1.0 unstable [amd64]) |
65f99834 | 129 | Conf arm-stuff:armel (1.0 unstable [armel]) |
234675b7 DK |
130 | Conf cool (1.0 unstable [amd64]) |
131 | Conf doxygen (1.0 unstable [amd64]) | |
132 | Conf foreigner (1.0 unstable [amd64]) | |
133 | Conf libc6 (1.0 unstable [amd64]) | |
134 | Conf libc6:armel (1.0 unstable [armel]) | |
135 | Conf libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
136 | Conf libc6-dev:armel (1.0 unstable [armel]) |
137 | Conf libfwibble1:armel (1.0 unstable [armel]) | |
138 | Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel | |
234675b7 DK |
139 | |
140 | configarchitecture 'armel' 'amd64' | |
141 | ||
25b86db1 | 142 | testsuccessequal 'Reading package lists... |
234675b7 DK |
143 | Building dependency tree... |
144 | The following NEW packages will be installed: | |
65f99834 DK |
145 | amdboot:amd64 arm-stuff cool doxygen foreigner libc6 libc6-dev |
146 | libfwibble-dev libfwibble1 | |
147 | 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 | 148 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
65f99834 | 149 | Inst arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
150 | Inst cool (1.0 unstable [armel]) |
151 | Inst doxygen (1.0 unstable [armel]) | |
152 | Inst foreigner (1.0 unstable [armel]) | |
153 | Inst libc6 (1.0 unstable [armel]) | |
154 | Inst libc6-dev (1.0 unstable [armel]) | |
737c7a7b SL |
155 | Inst libfwibble1 (1.0 unstable [armel]) |
156 | Inst libfwibble-dev (1.0 unstable [armel]) | |
234675b7 | 157 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
65f99834 | 158 | Conf arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
159 | Conf cool (1.0 unstable [armel]) |
160 | Conf doxygen (1.0 unstable [armel]) | |
161 | Conf foreigner (1.0 unstable [armel]) | |
162 | Conf libc6 (1.0 unstable [armel]) | |
737c7a7b SL |
163 | Conf libc6-dev (1.0 unstable [armel]) |
164 | Conf libfwibble1 (1.0 unstable [armel]) | |
165 | Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s | |
234675b7 | 166 | |
25b86db1 | 167 | testsuccessequal 'Reading package lists... |
234675b7 DK |
168 | Building dependency tree... |
169 | The following NEW packages will be installed: | |
170 | amdboot:amd64 cool doxygen foreigner libc6:amd64 libc6 libc6-dev:amd64 | |
65f99834 DK |
171 | libc6-dev libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64 |
172 | 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 DK |
173 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
174 | Inst cool (1.0 unstable [armel]) | |
175 | Inst doxygen (1.0 unstable [armel]) | |
176 | Inst foreigner (1.0 unstable [armel]) | |
234675b7 | 177 | Inst libc6:amd64 (1.0 unstable [amd64]) |
30426f48 | 178 | Inst libc6 (1.0 unstable [armel]) |
234675b7 | 179 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) |
30426f48 | 180 | Inst libc6-dev (1.0 unstable [armel]) |
737c7a7b SL |
181 | Inst libfwibble1:amd64 (1.0 unstable [amd64]) |
182 | Inst libfwibble-dev:amd64 (1.0 unstable [amd64]) | |
65f99834 | 183 | Inst linux-stuff:amd64 (1.0 unstable [amd64]) |
234675b7 DK |
184 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
185 | Conf cool (1.0 unstable [armel]) | |
186 | Conf doxygen (1.0 unstable [armel]) | |
187 | Conf foreigner (1.0 unstable [armel]) | |
188 | Conf libc6:amd64 (1.0 unstable [amd64]) | |
189 | Conf libc6 (1.0 unstable [armel]) | |
190 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) | |
737c7a7b SL |
191 | Conf libc6-dev (1.0 unstable [armel]) |
192 | Conf libfwibble1:amd64 (1.0 unstable [amd64]) | |
65f99834 DK |
193 | Conf libfwibble-dev:amd64 (1.0 unstable [amd64]) |
194 | Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64 | |
234675b7 DK |
195 | |
196 | configarchitecture 'amd64' 'armel' | |
197 | ||
198 | insertinstalledpackage 'cool' 'amd64' '0.5' | |
199 | insertinstalledpackage 'foreigner' 'armel' '0.5' | |
200 | ||
25b86db1 | 201 | testsuccessequal 'Reading package lists... |
234675b7 DK |
202 | Building dependency tree... |
203 | The following NEW packages will be installed: | |
65f99834 DK |
204 | amdboot doxygen libc6 libc6-dev libfwibble-dev libfwibble1 linux-stuff |
205 | 0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded. | |
234675b7 DK |
206 | Inst amdboot (1.0 unstable [amd64]) |
207 | Inst doxygen (1.0 unstable [amd64]) | |
208 | Inst libc6 (1.0 unstable [amd64]) | |
209 | Inst libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
210 | Inst libfwibble1 (1.0 unstable [amd64]) |
211 | Inst libfwibble-dev (1.0 unstable [amd64]) | |
65f99834 | 212 | Inst linux-stuff (1.0 unstable [amd64]) |
234675b7 DK |
213 | Conf amdboot (1.0 unstable [amd64]) |
214 | Conf doxygen (1.0 unstable [amd64]) | |
215 | Conf libc6 (1.0 unstable [amd64]) | |
737c7a7b SL |
216 | Conf libc6-dev (1.0 unstable [amd64]) |
217 | Conf libfwibble1 (1.0 unstable [amd64]) | |
65f99834 DK |
218 | Conf libfwibble-dev (1.0 unstable [amd64]) |
219 | Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s | |
234675b7 | 220 | |
25b86db1 | 221 | testsuccessequal 'Reading package lists... |
234675b7 DK |
222 | Building dependency tree... |
223 | The following NEW packages will be installed: | |
65f99834 | 224 | amdboot arm-stuff:armel doxygen libc6 libc6:armel libc6-dev libc6-dev:armel |
737c7a7b | 225 | libfwibble-dev:armel libfwibble1:armel |
65f99834 | 226 | 0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded. |
234675b7 | 227 | Inst amdboot (1.0 unstable [amd64]) |
65f99834 | 228 | Inst arm-stuff:armel (1.0 unstable [armel]) |
234675b7 | 229 | Inst doxygen (1.0 unstable [amd64]) |
234675b7 | 230 | Inst libc6 (1.0 unstable [amd64]) |
30426f48 | 231 | Inst libc6:armel (1.0 unstable [armel]) |
234675b7 | 232 | Inst libc6-dev (1.0 unstable [amd64]) |
30426f48 | 233 | Inst libc6-dev:armel (1.0 unstable [armel]) |
737c7a7b SL |
234 | Inst libfwibble1:armel (1.0 unstable [armel]) |
235 | Inst libfwibble-dev:armel (1.0 unstable [armel]) | |
234675b7 | 236 | Conf amdboot (1.0 unstable [amd64]) |
65f99834 | 237 | Conf arm-stuff:armel (1.0 unstable [armel]) |
234675b7 DK |
238 | Conf doxygen (1.0 unstable [amd64]) |
239 | Conf libc6 (1.0 unstable [amd64]) | |
240 | Conf libc6:armel (1.0 unstable [armel]) | |
241 | Conf libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
242 | Conf libc6-dev:armel (1.0 unstable [armel]) |
243 | Conf libfwibble1:armel (1.0 unstable [armel]) | |
244 | Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel | |
234675b7 DK |
245 | |
246 | configarchitecture 'armel' 'amd64' | |
247 | ||
248 | # cool 0.5 is not M-A: allowed, so amd64 is not acceptable | |
25b86db1 | 249 | testsuccessequal 'Reading package lists... |
234675b7 DK |
250 | Building dependency tree... |
251 | The following packages will be REMOVED: | |
252 | cool:amd64 | |
253 | The following NEW packages will be installed: | |
65f99834 DK |
254 | amdboot:amd64 arm-stuff cool doxygen libc6 libc6-dev libfwibble-dev |
255 | libfwibble1 | |
256 | 0 upgraded, 8 newly installed, 1 to remove and 1 not upgraded. | |
234675b7 DK |
257 | Remv cool:amd64 [0.5] |
258 | Inst amdboot:amd64 (1.0 unstable [amd64]) | |
65f99834 | 259 | Inst arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
260 | Inst cool (1.0 unstable [armel]) |
261 | Inst doxygen (1.0 unstable [armel]) | |
262 | Inst libc6 (1.0 unstable [armel]) | |
263 | Inst libc6-dev (1.0 unstable [armel]) | |
737c7a7b SL |
264 | Inst libfwibble1 (1.0 unstable [armel]) |
265 | Inst libfwibble-dev (1.0 unstable [armel]) | |
234675b7 | 266 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
65f99834 | 267 | Conf arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
268 | Conf cool (1.0 unstable [armel]) |
269 | Conf doxygen (1.0 unstable [armel]) | |
270 | Conf libc6 (1.0 unstable [armel]) | |
737c7a7b SL |
271 | Conf libc6-dev (1.0 unstable [armel]) |
272 | Conf libfwibble1 (1.0 unstable [armel]) | |
273 | Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s | |
234675b7 | 274 | |
25b86db1 | 275 | testsuccessequal 'Reading package lists... |
234675b7 DK |
276 | Building dependency tree... |
277 | The following NEW packages will be installed: | |
278 | amdboot:amd64 doxygen libc6:amd64 libc6 libc6-dev:amd64 libc6-dev | |
65f99834 DK |
279 | libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64 |
280 | 0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded. | |
234675b7 DK |
281 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
282 | Inst doxygen (1.0 unstable [armel]) | |
234675b7 | 283 | Inst libc6:amd64 (1.0 unstable [amd64]) |
30426f48 | 284 | Inst libc6 (1.0 unstable [armel]) |
234675b7 | 285 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) |
30426f48 | 286 | Inst libc6-dev (1.0 unstable [armel]) |
737c7a7b SL |
287 | Inst libfwibble1:amd64 (1.0 unstable [amd64]) |
288 | Inst libfwibble-dev:amd64 (1.0 unstable [amd64]) | |
65f99834 | 289 | Inst linux-stuff:amd64 (1.0 unstable [amd64]) |
234675b7 DK |
290 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
291 | Conf doxygen (1.0 unstable [armel]) | |
292 | Conf libc6:amd64 (1.0 unstable [amd64]) | |
293 | Conf libc6 (1.0 unstable [armel]) | |
294 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) | |
737c7a7b SL |
295 | Conf libc6-dev (1.0 unstable [armel]) |
296 | Conf libfwibble1:amd64 (1.0 unstable [amd64]) | |
65f99834 DK |
297 | Conf libfwibble-dev:amd64 (1.0 unstable [amd64]) |
298 | Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64 |