]>
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 | |
65f99834 | 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-arm] | 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 | ||
234675b7 DK |
30 | setupaptarchive |
31 | ||
d5dea0be DK |
32 | testequal "Reading package lists... |
33 | Building dependency tree... | |
34 | 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 | |
35 | testequal "Reading package lists... | |
36 | Building dependency tree... | |
37 | 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 | |
38 | testequal "Reading package lists... | |
39 | Building dependency tree... | |
40 | 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 | |
41 | ||
234675b7 DK |
42 | testequal 'Reading package lists... |
43 | Building dependency tree... | |
44 | The following NEW packages will be installed: | |
737c7a7b | 45 | amdboot cool doxygen foreigner libc6 libc6-dev libfwibble-dev libfwibble1 |
65f99834 DK |
46 | linux-stuff |
47 | 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 DK |
48 | Inst amdboot (1.0 unstable [amd64]) |
49 | Inst cool (1.0 unstable [amd64]) | |
50 | Inst doxygen (1.0 unstable [amd64]) | |
51 | Inst foreigner (1.0 unstable [amd64]) | |
52 | Inst libc6 (1.0 unstable [amd64]) | |
53 | Inst libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
54 | Inst libfwibble1 (1.0 unstable [amd64]) |
55 | Inst libfwibble-dev (1.0 unstable [amd64]) | |
65f99834 | 56 | Inst linux-stuff (1.0 unstable [amd64]) |
234675b7 DK |
57 | Conf amdboot (1.0 unstable [amd64]) |
58 | Conf cool (1.0 unstable [amd64]) | |
59 | Conf doxygen (1.0 unstable [amd64]) | |
60 | Conf foreigner (1.0 unstable [amd64]) | |
61 | Conf libc6 (1.0 unstable [amd64]) | |
737c7a7b SL |
62 | Conf libc6-dev (1.0 unstable [amd64]) |
63 | Conf libfwibble1 (1.0 unstable [amd64]) | |
65f99834 DK |
64 | Conf libfwibble-dev (1.0 unstable [amd64]) |
65 | Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s | |
234675b7 DK |
66 | |
67 | testequal 'Reading package lists... | |
68 | Building dependency tree... | |
69 | The following NEW packages will be installed: | |
65f99834 DK |
70 | amdboot arm-stuff:armel cool doxygen foreigner libc6 libc6:armel libc6-dev |
71 | libc6-dev:armel libfwibble-dev:armel libfwibble1:armel | |
72 | 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 | 73 | Inst amdboot (1.0 unstable [amd64]) |
65f99834 | 74 | Inst arm-stuff:armel (1.0 unstable [armel]) |
234675b7 DK |
75 | Inst cool (1.0 unstable [amd64]) |
76 | Inst doxygen (1.0 unstable [amd64]) | |
77 | Inst foreigner (1.0 unstable [amd64]) | |
234675b7 | 78 | Inst libc6 (1.0 unstable [amd64]) |
30426f48 | 79 | Inst libc6:armel (1.0 unstable [armel]) |
234675b7 | 80 | Inst libc6-dev (1.0 unstable [amd64]) |
30426f48 | 81 | Inst libc6-dev:armel (1.0 unstable [armel]) |
737c7a7b SL |
82 | Inst libfwibble1:armel (1.0 unstable [armel]) |
83 | Inst libfwibble-dev:armel (1.0 unstable [armel]) | |
234675b7 | 84 | Conf amdboot (1.0 unstable [amd64]) |
65f99834 | 85 | Conf arm-stuff:armel (1.0 unstable [armel]) |
234675b7 DK |
86 | Conf cool (1.0 unstable [amd64]) |
87 | Conf doxygen (1.0 unstable [amd64]) | |
88 | Conf foreigner (1.0 unstable [amd64]) | |
89 | Conf libc6 (1.0 unstable [amd64]) | |
90 | Conf libc6:armel (1.0 unstable [armel]) | |
91 | Conf libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
92 | Conf libc6-dev:armel (1.0 unstable [armel]) |
93 | Conf libfwibble1:armel (1.0 unstable [armel]) | |
94 | Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel | |
234675b7 DK |
95 | |
96 | configarchitecture 'armel' 'amd64' | |
97 | ||
98 | testequal 'Reading package lists... | |
99 | Building dependency tree... | |
100 | The following NEW packages will be installed: | |
65f99834 DK |
101 | amdboot:amd64 arm-stuff cool doxygen foreigner libc6 libc6-dev |
102 | libfwibble-dev libfwibble1 | |
103 | 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 | 104 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
65f99834 | 105 | Inst arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
106 | Inst cool (1.0 unstable [armel]) |
107 | Inst doxygen (1.0 unstable [armel]) | |
108 | Inst foreigner (1.0 unstable [armel]) | |
109 | Inst libc6 (1.0 unstable [armel]) | |
110 | Inst libc6-dev (1.0 unstable [armel]) | |
737c7a7b SL |
111 | Inst libfwibble1 (1.0 unstable [armel]) |
112 | Inst libfwibble-dev (1.0 unstable [armel]) | |
234675b7 | 113 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
65f99834 | 114 | Conf arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
115 | Conf cool (1.0 unstable [armel]) |
116 | Conf doxygen (1.0 unstable [armel]) | |
117 | Conf foreigner (1.0 unstable [armel]) | |
118 | Conf libc6 (1.0 unstable [armel]) | |
737c7a7b SL |
119 | Conf libc6-dev (1.0 unstable [armel]) |
120 | Conf libfwibble1 (1.0 unstable [armel]) | |
121 | Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s | |
234675b7 DK |
122 | |
123 | testequal 'Reading package lists... | |
124 | Building dependency tree... | |
125 | The following NEW packages will be installed: | |
126 | amdboot:amd64 cool doxygen foreigner libc6:amd64 libc6 libc6-dev:amd64 | |
65f99834 DK |
127 | libc6-dev libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64 |
128 | 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. | |
234675b7 DK |
129 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
130 | Inst cool (1.0 unstable [armel]) | |
131 | Inst doxygen (1.0 unstable [armel]) | |
132 | Inst foreigner (1.0 unstable [armel]) | |
234675b7 | 133 | Inst libc6:amd64 (1.0 unstable [amd64]) |
30426f48 | 134 | Inst libc6 (1.0 unstable [armel]) |
234675b7 | 135 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) |
30426f48 | 136 | Inst libc6-dev (1.0 unstable [armel]) |
737c7a7b SL |
137 | Inst libfwibble1:amd64 (1.0 unstable [amd64]) |
138 | Inst libfwibble-dev:amd64 (1.0 unstable [amd64]) | |
65f99834 | 139 | Inst linux-stuff:amd64 (1.0 unstable [amd64]) |
234675b7 DK |
140 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
141 | Conf cool (1.0 unstable [armel]) | |
142 | Conf doxygen (1.0 unstable [armel]) | |
143 | Conf foreigner (1.0 unstable [armel]) | |
144 | Conf libc6:amd64 (1.0 unstable [amd64]) | |
145 | Conf libc6 (1.0 unstable [armel]) | |
146 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) | |
737c7a7b SL |
147 | Conf libc6-dev (1.0 unstable [armel]) |
148 | Conf libfwibble1:amd64 (1.0 unstable [amd64]) | |
65f99834 DK |
149 | Conf libfwibble-dev:amd64 (1.0 unstable [amd64]) |
150 | Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64 | |
234675b7 DK |
151 | |
152 | configarchitecture 'amd64' 'armel' | |
153 | ||
154 | insertinstalledpackage 'cool' 'amd64' '0.5' | |
155 | insertinstalledpackage 'foreigner' 'armel' '0.5' | |
156 | ||
157 | testequal 'Reading package lists... | |
158 | Building dependency tree... | |
159 | The following NEW packages will be installed: | |
65f99834 DK |
160 | amdboot doxygen libc6 libc6-dev libfwibble-dev libfwibble1 linux-stuff |
161 | 0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded. | |
234675b7 DK |
162 | Inst amdboot (1.0 unstable [amd64]) |
163 | Inst doxygen (1.0 unstable [amd64]) | |
164 | Inst libc6 (1.0 unstable [amd64]) | |
165 | Inst libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
166 | Inst libfwibble1 (1.0 unstable [amd64]) |
167 | Inst libfwibble-dev (1.0 unstable [amd64]) | |
65f99834 | 168 | Inst linux-stuff (1.0 unstable [amd64]) |
234675b7 DK |
169 | Conf amdboot (1.0 unstable [amd64]) |
170 | Conf doxygen (1.0 unstable [amd64]) | |
171 | Conf libc6 (1.0 unstable [amd64]) | |
737c7a7b SL |
172 | Conf libc6-dev (1.0 unstable [amd64]) |
173 | Conf libfwibble1 (1.0 unstable [amd64]) | |
65f99834 DK |
174 | Conf libfwibble-dev (1.0 unstable [amd64]) |
175 | Conf linux-stuff (1.0 unstable [amd64])' aptget build-dep apt -s | |
234675b7 DK |
176 | |
177 | testequal 'Reading package lists... | |
178 | Building dependency tree... | |
179 | The following NEW packages will be installed: | |
65f99834 | 180 | amdboot arm-stuff:armel doxygen libc6 libc6:armel libc6-dev libc6-dev:armel |
737c7a7b | 181 | libfwibble-dev:armel libfwibble1:armel |
65f99834 | 182 | 0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded. |
234675b7 | 183 | Inst amdboot (1.0 unstable [amd64]) |
65f99834 | 184 | Inst arm-stuff:armel (1.0 unstable [armel]) |
234675b7 | 185 | Inst doxygen (1.0 unstable [amd64]) |
234675b7 | 186 | Inst libc6 (1.0 unstable [amd64]) |
30426f48 | 187 | Inst libc6:armel (1.0 unstable [armel]) |
234675b7 | 188 | Inst libc6-dev (1.0 unstable [amd64]) |
30426f48 | 189 | Inst libc6-dev:armel (1.0 unstable [armel]) |
737c7a7b SL |
190 | Inst libfwibble1:armel (1.0 unstable [armel]) |
191 | Inst libfwibble-dev:armel (1.0 unstable [armel]) | |
234675b7 | 192 | Conf amdboot (1.0 unstable [amd64]) |
65f99834 | 193 | Conf arm-stuff:armel (1.0 unstable [armel]) |
234675b7 DK |
194 | Conf doxygen (1.0 unstable [amd64]) |
195 | Conf libc6 (1.0 unstable [amd64]) | |
196 | Conf libc6:armel (1.0 unstable [armel]) | |
197 | Conf libc6-dev (1.0 unstable [amd64]) | |
737c7a7b SL |
198 | Conf libc6-dev:armel (1.0 unstable [armel]) |
199 | Conf libfwibble1:armel (1.0 unstable [armel]) | |
200 | Conf libfwibble-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel | |
234675b7 DK |
201 | |
202 | configarchitecture 'armel' 'amd64' | |
203 | ||
204 | # cool 0.5 is not M-A: allowed, so amd64 is not acceptable | |
205 | testequal 'Reading package lists... | |
206 | Building dependency tree... | |
207 | The following packages will be REMOVED: | |
208 | cool:amd64 | |
209 | The following NEW packages will be installed: | |
65f99834 DK |
210 | amdboot:amd64 arm-stuff cool doxygen libc6 libc6-dev libfwibble-dev |
211 | libfwibble1 | |
212 | 0 upgraded, 8 newly installed, 1 to remove and 1 not upgraded. | |
234675b7 DK |
213 | Remv cool:amd64 [0.5] |
214 | Inst amdboot:amd64 (1.0 unstable [amd64]) | |
65f99834 | 215 | Inst arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
216 | Inst cool (1.0 unstable [armel]) |
217 | Inst doxygen (1.0 unstable [armel]) | |
218 | Inst libc6 (1.0 unstable [armel]) | |
219 | Inst libc6-dev (1.0 unstable [armel]) | |
737c7a7b SL |
220 | Inst libfwibble1 (1.0 unstable [armel]) |
221 | Inst libfwibble-dev (1.0 unstable [armel]) | |
234675b7 | 222 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
65f99834 | 223 | Conf arm-stuff (1.0 unstable [armel]) |
234675b7 DK |
224 | Conf cool (1.0 unstable [armel]) |
225 | Conf doxygen (1.0 unstable [armel]) | |
226 | Conf libc6 (1.0 unstable [armel]) | |
737c7a7b SL |
227 | Conf libc6-dev (1.0 unstable [armel]) |
228 | Conf libfwibble1 (1.0 unstable [armel]) | |
229 | Conf libfwibble-dev (1.0 unstable [armel])' aptget build-dep apt -s | |
234675b7 DK |
230 | |
231 | testequal 'Reading package lists... | |
232 | Building dependency tree... | |
233 | The following NEW packages will be installed: | |
234 | amdboot:amd64 doxygen libc6:amd64 libc6 libc6-dev:amd64 libc6-dev | |
65f99834 DK |
235 | libfwibble-dev:amd64 libfwibble1:amd64 linux-stuff:amd64 |
236 | 0 upgraded, 9 newly installed, 0 to remove and 2 not upgraded. | |
234675b7 DK |
237 | Inst amdboot:amd64 (1.0 unstable [amd64]) |
238 | Inst doxygen (1.0 unstable [armel]) | |
234675b7 | 239 | Inst libc6:amd64 (1.0 unstable [amd64]) |
30426f48 | 240 | Inst libc6 (1.0 unstable [armel]) |
234675b7 | 241 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) |
30426f48 | 242 | Inst libc6-dev (1.0 unstable [armel]) |
737c7a7b SL |
243 | Inst libfwibble1:amd64 (1.0 unstable [amd64]) |
244 | Inst libfwibble-dev:amd64 (1.0 unstable [amd64]) | |
65f99834 | 245 | Inst linux-stuff:amd64 (1.0 unstable [amd64]) |
234675b7 DK |
246 | Conf amdboot:amd64 (1.0 unstable [amd64]) |
247 | Conf doxygen (1.0 unstable [armel]) | |
248 | Conf libc6:amd64 (1.0 unstable [amd64]) | |
249 | Conf libc6 (1.0 unstable [armel]) | |
250 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) | |
737c7a7b SL |
251 | Conf libc6-dev (1.0 unstable [armel]) |
252 | Conf libfwibble1:amd64 (1.0 unstable [amd64]) | |
65f99834 DK |
253 | Conf libfwibble-dev:amd64 (1.0 unstable [amd64]) |
254 | Conf linux-stuff:amd64 (1.0 unstable [amd64])' aptget build-dep apt -s -a amd64 |