4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'armel'
9 insertinstalledpackage
'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
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'
15 insertpackage
'unstable' 'po-debconf' 'amd64' '1'
16 insertsource
'unstable' 'diffutils' 'any' '1' 'Build-Depends: texi2html'
18 insertpackage
'unstable' 'libselinux1-dev' 'amd64' '1' 'Provides: libselinux-dev'
19 insertsource
'unstable' 'sed' 'any' '1' 'Build-Depends: libselinux-dev'
21 insertpackage
'unstable' 'libsehurd1-dev' 'amd64,armel' '1' 'Provides: libsehurd-dev'
22 insertsource
'unstable' 'sed2' 'any' '1' 'Build-Depends: libsehurd-dev'
26 testequal
'Package: po-debconf:armel
30 make-po-debconf-pure-virtual:armel,po-debconf:armel
33 Reverse Provides: ' aptcache showpkg po
-debconf:armel
34 testequal
'N: Unable to locate package texi2html' aptcache showpkg texi2html
:armel
-q=0
36 testequal
'Reading package lists...
37 Building dependency tree...
38 The following NEW packages will be installed:
40 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
41 Inst po-debconf (1 unstable [all])
42 Conf po-debconf (1 unstable [all])' aptget build
-dep dash
-s
44 testequal
'Reading package lists...
45 Building dependency tree...
46 E: Build-Depends dependency for dash cannot be satisfied because the package po-debconf cannot be found' aptget build
-dep -aarmel dash
-s
48 testequal
'Reading package lists...
49 Building dependency tree...
50 E: Build-Depends dependency for diffutils cannot be satisfied because the package texi2html cannot be found' aptget build
-dep -aarmel diffutils
-s
52 testequal
"Reading package lists...
53 Building dependency tree...
54 Note, selecting 'libselinux1-dev' instead of 'libselinux-dev'
55 The following NEW packages will be installed:
57 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
58 Inst libselinux1-dev (1 unstable [amd64])
59 Conf libselinux1-dev (1 unstable [amd64])" aptget build
-dep sed -s
61 testequal
'Reading package lists...
62 Building dependency tree...
63 E: Build-Depends dependency for sed cannot be satisfied because the package libselinux-dev cannot be found' aptget build
-dep -aarmel sed -s
65 testequal
"Reading package lists...
66 Building dependency tree...
67 Note, selecting 'libsehurd1-dev' instead of 'libsehurd-dev'
68 The following NEW packages will be installed:
70 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
71 Inst libsehurd1-dev (1 unstable [amd64])
72 Conf libsehurd1-dev (1 unstable [amd64])" aptget build
-dep sed2
-s
74 testequal
"Reading package lists...
75 Building dependency tree...
76 Note, selecting 'libsehurd1-dev:armel' instead of 'libsehurd-dev:armel'
77 The following NEW packages will be installed:
79 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
80 Inst libsehurd1-dev:armel (1 unstable [armel])
81 Conf libsehurd1-dev:armel (1 unstable [armel])" aptget build
-dep -aarmel sed2
-s