]>
Commit | Line | Data |
---|---|---|
f1f874bd DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
f1f874bd DK |
6 | setupenvironment |
7 | configarchitecture 'amd64' 'armel' | |
8 | ||
9 | insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign' | |
10 | ||
11 | insertpackage 'unstable' 'po-debconf' 'all' '1' | |
12 | insertsource 'unstable' 'dash' 'any' '1' 'Build-Depends: po-debconf' | |
13 | insertpackage 'unstable' 'make-po-debconf-pure-virtual' 'armel' '1' 'Depends: po-debconf' | |
14 | ||
f1f874bd DK |
15 | insertsource 'unstable' 'diffutils' 'any' '1' 'Build-Depends: texi2html' |
16 | ||
727d8712 DK |
17 | insertpackage 'unstable' 'libselinux1-dev' 'amd64' '1' 'Provides: libselinux-dev' |
18 | insertsource 'unstable' 'sed' 'any' '1' 'Build-Depends: libselinux-dev' | |
19 | ||
666faa35 DK |
20 | insertpackage 'unstable' 'libsehurd1-dev' 'amd64,armel' '1' 'Provides: libsehurd-dev' |
21 | insertsource 'unstable' 'sed2' 'any' '1' 'Build-Depends: libsehurd-dev' | |
22 | ||
f1f874bd DK |
23 | setupaptarchive |
24 | ||
25b86db1 | 25 | testsuccessequal 'Package: po-debconf:armel |
f1f874bd DK |
26 | Versions: |
27 | ||
28 | Reverse Depends: | |
29 | make-po-debconf-pure-virtual:armel,po-debconf:armel | |
30 | Dependencies: | |
31 | Provides: | |
32 | Reverse Provides: ' aptcache showpkg po-debconf:armel | |
87d6947d | 33 | testsuccessequal 'N: Unable to locate package texi2html:armel' aptcache showpkg texi2html:armel |
f1f874bd | 34 | |
25b86db1 | 35 | testsuccessequal 'Reading package lists... |
a249b3e6 | 36 | Reading package lists... |
f1f874bd DK |
37 | Building dependency tree... |
38 | The following NEW packages will be installed: | |
39 | po-debconf | |
40 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
34de054c MV |
41 | Inst po-debconf (1 unstable [all]) |
42 | Conf po-debconf (1 unstable [all])' aptget build-dep dash -s | |
f1f874bd | 43 | |
25b86db1 | 44 | testfailureequal 'Reading package lists... |
a249b3e6 | 45 | Reading package lists... |
f1f874bd | 46 | Building dependency tree... |
a249b3e6 DK |
47 | Some packages could not be installed. This may mean that you have |
48 | requested an impossible situation or if you are using the unstable | |
49 | distribution that some required packages have not yet been created | |
50 | or been moved out of Incoming. | |
51 | The following information may help to resolve the situation: | |
52 | ||
53 | The following packages have unmet dependencies: | |
54 | builddeps:dash:armel : Depends: po-debconf:armel but it is not installable | |
55 | E: Unable to correct problems, you have held broken packages.' aptget build-dep -aarmel dash -s | |
25b86db1 | 56 | testfailureequal 'Reading package lists... |
a249b3e6 | 57 | Reading package lists... |
f1f874bd | 58 | Building dependency tree... |
a249b3e6 DK |
59 | Some packages could not be installed. This may mean that you have |
60 | requested an impossible situation or if you are using the unstable | |
61 | distribution that some required packages have not yet been created | |
62 | or been moved out of Incoming. | |
63 | The following information may help to resolve the situation: | |
64 | ||
65 | The following packages have unmet dependencies: | |
66 | builddeps:diffutils:armel : Depends: texi2html:armel but it is not installable | |
67 | E: Unable to correct problems, you have held broken packages.' aptget build-dep -aarmel diffutils -s | |
727d8712 | 68 | |
25b86db1 | 69 | testsuccessequal "Reading package lists... |
a249b3e6 | 70 | Reading package lists... |
727d8712 | 71 | Building dependency tree... |
727d8712 DK |
72 | The following NEW packages will be installed: |
73 | libselinux1-dev | |
74 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
75 | Inst libselinux1-dev (1 unstable [amd64]) | |
76 | Conf libselinux1-dev (1 unstable [amd64])" aptget build-dep sed -s | |
666faa35 | 77 | |
25b86db1 | 78 | testfailureequal 'Reading package lists... |
a249b3e6 | 79 | Reading package lists... |
666faa35 | 80 | Building dependency tree... |
a249b3e6 DK |
81 | Some packages could not be installed. This may mean that you have |
82 | requested an impossible situation or if you are using the unstable | |
83 | distribution that some required packages have not yet been created | |
84 | or been moved out of Incoming. | |
85 | The following information may help to resolve the situation: | |
86 | ||
87 | The following packages have unmet dependencies: | |
88 | builddeps:sed:armel : Depends: libselinux-dev:armel but it is not installable | |
89 | E: Unable to correct problems, you have held broken packages.' aptget build-dep -aarmel sed -s | |
666faa35 | 90 | |
25b86db1 | 91 | testsuccessequal "Reading package lists... |
a249b3e6 | 92 | Reading package lists... |
666faa35 | 93 | Building dependency tree... |
666faa35 DK |
94 | The following NEW packages will be installed: |
95 | libsehurd1-dev | |
96 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
97 | Inst libsehurd1-dev (1 unstable [amd64]) | |
98 | Conf libsehurd1-dev (1 unstable [amd64])" aptget build-dep sed2 -s | |
99 | ||
25b86db1 | 100 | testsuccessequal "Reading package lists... |
a249b3e6 | 101 | Reading package lists... |
666faa35 | 102 | Building dependency tree... |
666faa35 DK |
103 | The following NEW packages will be installed: |
104 | libsehurd1-dev:armel | |
105 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
106 | Inst libsehurd1-dev:armel (1 unstable [armel]) | |
107 | Conf libsehurd1-dev:armel (1 unstable [armel])" aptget build-dep -aarmel sed2 -s |