]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture 'amd64' 'armel' | |
8 | ||
9 | insertinstalledpackage 'build-essential' 'all' '11.5' | |
10 | ||
11 | insertpackage 'unstable' 'doxygen' 'amd64,armel' '1.0' | |
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' | |
15 | insertpackage 'unstable' 'cool' 'amd64,armel' '1.0' 'Multi-Arch: allowed' | |
16 | insertpackage 'unstable' 'amdboot' 'amd64' '1.0' | |
17 | insertpackage 'unstable' 'foreigner' 'amd64,armel' '1.0' 'Multi-Arch: foreign' | |
18 | ||
19 | insertsource 'unstable' 'apt' 'any' '0.8.15' 'Build-Depends: doxygen, libc6-dev, libc6-dev:native, cool:any, amdboot:amd64, foreigner' | |
20 | ||
21 | setupaptarchive | |
22 | ||
23 | testequal 'Reading package lists... | |
24 | Building dependency tree... | |
25 | The following NEW packages will be installed: | |
26 | amdboot cool doxygen foreigner libc6 libc6-dev | |
27 | 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. | |
28 | Inst amdboot (1.0 unstable [amd64]) | |
29 | Inst cool (1.0 unstable [amd64]) | |
30 | Inst doxygen (1.0 unstable [amd64]) | |
31 | Inst foreigner (1.0 unstable [amd64]) | |
32 | Inst libc6 (1.0 unstable [amd64]) | |
33 | Inst libc6-dev (1.0 unstable [amd64]) | |
34 | Conf amdboot (1.0 unstable [amd64]) | |
35 | Conf cool (1.0 unstable [amd64]) | |
36 | Conf doxygen (1.0 unstable [amd64]) | |
37 | Conf foreigner (1.0 unstable [amd64]) | |
38 | Conf libc6 (1.0 unstable [amd64]) | |
39 | Conf libc6-dev (1.0 unstable [amd64])' aptget build-dep apt -s | |
40 | ||
41 | testequal 'Reading package lists... | |
42 | Building dependency tree... | |
43 | The following NEW packages will be installed: | |
44 | amdboot cool doxygen foreigner libc6 libc6:armel libc6-dev libc6-dev:armel | |
45 | 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. | |
46 | Inst amdboot (1.0 unstable [amd64]) | |
47 | Inst cool (1.0 unstable [amd64]) | |
48 | Inst doxygen (1.0 unstable [amd64]) | |
49 | Inst foreigner (1.0 unstable [amd64]) | |
50 | Inst libc6 (1.0 unstable [amd64]) | |
51 | Inst libc6:armel (1.0 unstable [armel]) | |
52 | Inst libc6-dev (1.0 unstable [amd64]) | |
53 | Inst libc6-dev:armel (1.0 unstable [armel]) | |
54 | Conf amdboot (1.0 unstable [amd64]) | |
55 | Conf cool (1.0 unstable [amd64]) | |
56 | Conf doxygen (1.0 unstable [amd64]) | |
57 | Conf foreigner (1.0 unstable [amd64]) | |
58 | Conf libc6 (1.0 unstable [amd64]) | |
59 | Conf libc6:armel (1.0 unstable [armel]) | |
60 | Conf libc6-dev (1.0 unstable [amd64]) | |
61 | Conf libc6-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel | |
62 | ||
63 | configarchitecture 'armel' 'amd64' | |
64 | ||
65 | testequal 'Reading package lists... | |
66 | Building dependency tree... | |
67 | The following NEW packages will be installed: | |
68 | amdboot:amd64 cool doxygen foreigner libc6 libc6-dev | |
69 | 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. | |
70 | Inst amdboot:amd64 (1.0 unstable [amd64]) | |
71 | Inst cool (1.0 unstable [armel]) | |
72 | Inst doxygen (1.0 unstable [armel]) | |
73 | Inst foreigner (1.0 unstable [armel]) | |
74 | Inst libc6 (1.0 unstable [armel]) | |
75 | Inst libc6-dev (1.0 unstable [armel]) | |
76 | Conf amdboot:amd64 (1.0 unstable [amd64]) | |
77 | Conf cool (1.0 unstable [armel]) | |
78 | Conf doxygen (1.0 unstable [armel]) | |
79 | Conf foreigner (1.0 unstable [armel]) | |
80 | Conf libc6 (1.0 unstable [armel]) | |
81 | Conf libc6-dev (1.0 unstable [armel])' aptget build-dep apt -s | |
82 | ||
83 | testequal 'Reading package lists... | |
84 | Building dependency tree... | |
85 | The following NEW packages will be installed: | |
86 | amdboot:amd64 cool doxygen foreigner libc6:amd64 libc6 libc6-dev:amd64 | |
87 | libc6-dev | |
88 | 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. | |
89 | Inst amdboot:amd64 (1.0 unstable [amd64]) | |
90 | Inst cool (1.0 unstable [armel]) | |
91 | Inst doxygen (1.0 unstable [armel]) | |
92 | Inst foreigner (1.0 unstable [armel]) | |
93 | Inst libc6:amd64 (1.0 unstable [amd64]) | |
94 | Inst libc6 (1.0 unstable [armel]) | |
95 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) | |
96 | Inst libc6-dev (1.0 unstable [armel]) | |
97 | Conf amdboot:amd64 (1.0 unstable [amd64]) | |
98 | Conf cool (1.0 unstable [armel]) | |
99 | Conf doxygen (1.0 unstable [armel]) | |
100 | Conf foreigner (1.0 unstable [armel]) | |
101 | Conf libc6:amd64 (1.0 unstable [amd64]) | |
102 | Conf libc6 (1.0 unstable [armel]) | |
103 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) | |
104 | Conf libc6-dev (1.0 unstable [armel])' aptget build-dep apt -s -a amd64 | |
105 | ||
106 | configarchitecture 'amd64' 'armel' | |
107 | ||
108 | insertinstalledpackage 'cool' 'amd64' '0.5' | |
109 | insertinstalledpackage 'foreigner' 'armel' '0.5' | |
110 | ||
111 | testequal 'Reading package lists... | |
112 | Building dependency tree... | |
113 | The following NEW packages will be installed: | |
114 | amdboot doxygen libc6 libc6-dev | |
115 | 0 upgraded, 4 newly installed, 0 to remove and 2 not upgraded. | |
116 | Inst amdboot (1.0 unstable [amd64]) | |
117 | Inst doxygen (1.0 unstable [amd64]) | |
118 | Inst libc6 (1.0 unstable [amd64]) | |
119 | Inst libc6-dev (1.0 unstable [amd64]) | |
120 | Conf amdboot (1.0 unstable [amd64]) | |
121 | Conf doxygen (1.0 unstable [amd64]) | |
122 | Conf libc6 (1.0 unstable [amd64]) | |
123 | Conf libc6-dev (1.0 unstable [amd64])' aptget build-dep apt -s | |
124 | ||
125 | testequal 'Reading package lists... | |
126 | Building dependency tree... | |
127 | The following NEW packages will be installed: | |
128 | amdboot doxygen libc6 libc6:armel libc6-dev libc6-dev:armel | |
129 | 0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded. | |
130 | Inst amdboot (1.0 unstable [amd64]) | |
131 | Inst doxygen (1.0 unstable [amd64]) | |
132 | Inst libc6 (1.0 unstable [amd64]) | |
133 | Inst libc6:armel (1.0 unstable [armel]) | |
134 | Inst libc6-dev (1.0 unstable [amd64]) | |
135 | Inst libc6-dev:armel (1.0 unstable [armel]) | |
136 | Conf amdboot (1.0 unstable [amd64]) | |
137 | Conf doxygen (1.0 unstable [amd64]) | |
138 | Conf libc6 (1.0 unstable [amd64]) | |
139 | Conf libc6:armel (1.0 unstable [armel]) | |
140 | Conf libc6-dev (1.0 unstable [amd64]) | |
141 | Conf libc6-dev:armel (1.0 unstable [armel])' aptget build-dep apt -s -a armel | |
142 | ||
143 | configarchitecture 'armel' 'amd64' | |
144 | ||
145 | # cool 0.5 is not M-A: allowed, so amd64 is not acceptable | |
146 | testequal 'Reading package lists... | |
147 | Building dependency tree... | |
148 | The following packages will be REMOVED: | |
149 | cool:amd64 | |
150 | The following NEW packages will be installed: | |
151 | amdboot:amd64 cool doxygen libc6 libc6-dev | |
152 | 0 upgraded, 5 newly installed, 1 to remove and 1 not upgraded. | |
153 | Remv cool:amd64 [0.5] | |
154 | Inst amdboot:amd64 (1.0 unstable [amd64]) | |
155 | Inst cool (1.0 unstable [armel]) | |
156 | Inst doxygen (1.0 unstable [armel]) | |
157 | Inst libc6 (1.0 unstable [armel]) | |
158 | Inst libc6-dev (1.0 unstable [armel]) | |
159 | Conf amdboot:amd64 (1.0 unstable [amd64]) | |
160 | Conf cool (1.0 unstable [armel]) | |
161 | Conf doxygen (1.0 unstable [armel]) | |
162 | Conf libc6 (1.0 unstable [armel]) | |
163 | Conf libc6-dev (1.0 unstable [armel])' aptget build-dep apt -s | |
164 | ||
165 | testequal 'Reading package lists... | |
166 | Building dependency tree... | |
167 | The following NEW packages will be installed: | |
168 | amdboot:amd64 doxygen libc6:amd64 libc6 libc6-dev:amd64 libc6-dev | |
169 | 0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded. | |
170 | Inst amdboot:amd64 (1.0 unstable [amd64]) | |
171 | Inst doxygen (1.0 unstable [armel]) | |
172 | Inst libc6:amd64 (1.0 unstable [amd64]) | |
173 | Inst libc6 (1.0 unstable [armel]) | |
174 | Inst libc6-dev:amd64 (1.0 unstable [amd64]) | |
175 | Inst libc6-dev (1.0 unstable [armel]) | |
176 | Conf amdboot:amd64 (1.0 unstable [amd64]) | |
177 | Conf doxygen (1.0 unstable [armel]) | |
178 | Conf libc6:amd64 (1.0 unstable [amd64]) | |
179 | Conf libc6 (1.0 unstable [armel]) | |
180 | Conf libc6-dev:amd64 (1.0 unstable [amd64]) | |
181 | Conf libc6-dev (1.0 unstable [armel])' aptget build-dep apt -s -a amd64 | |
182 | ||
183 |