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