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 insertsource
'unstable' 'diffutils' 'any' '1' 'Build-Depends: texi2html'
17 insertpackage
'unstable' 'libselinux1-dev' 'amd64' '1' 'Provides: libselinux-dev'
18 insertsource
'unstable' 'sed' 'any' '1' 'Build-Depends: libselinux-dev'
20 insertpackage
'unstable' 'libsehurd1-dev' 'amd64,armel' '1' 'Provides: libsehurd-dev'
21 insertsource
'unstable' 'sed2' 'any' '1' 'Build-Depends: libsehurd-dev'
25 testsuccessequal
'Package: po-debconf:armel
29 make-po-debconf-pure-virtual:armel,po-debconf:armel
32 Reverse Provides: ' aptcache showpkg po
-debconf:armel
33 testsuccessequal
'N: Unable to locate package texi2html:armel' aptcache showpkg texi2html
:armel
-q=0
35 testsuccessequal
'Reading package lists...
36 Building dependency tree...
37 The following NEW packages will be installed:
39 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
40 Inst po-debconf (1 unstable [all])
41 Conf po-debconf (1 unstable [all])' aptget build
-dep dash
-s
43 testfailureequal
'Reading package lists...
44 Building dependency tree...
45 E: Build-Depends dependency for dash cannot be satisfied because the package po-debconf cannot be found' aptget build
-dep -aarmel dash
-s
47 testfailureequal
'Reading package lists...
48 Building dependency tree...
49 E: Build-Depends dependency for diffutils cannot be satisfied because the package texi2html cannot be found' aptget build
-dep -aarmel diffutils
-s
51 testsuccessequal
"Reading package lists...
52 Building dependency tree...
53 Note, selecting 'libselinux1-dev' instead of 'libselinux-dev'
54 The following NEW packages will be installed:
56 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
57 Inst libselinux1-dev (1 unstable [amd64])
58 Conf libselinux1-dev (1 unstable [amd64])" aptget build
-dep sed -s
60 testfailureequal
'Reading package lists...
61 Building dependency tree...
62 E: Build-Depends dependency for sed cannot be satisfied because the package libselinux-dev cannot be found' aptget build
-dep -aarmel sed -s
64 testsuccessequal
"Reading package lists...
65 Building dependency tree...
66 Note, selecting 'libsehurd1-dev' instead of 'libsehurd-dev'
67 The following NEW packages will be installed:
69 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
70 Inst libsehurd1-dev (1 unstable [amd64])
71 Conf libsehurd1-dev (1 unstable [amd64])" aptget build
-dep sed2
-s
73 testsuccessequal
"Reading package lists...
74 Building dependency tree...
75 Note, selecting 'libsehurd1-dev:armel' instead of 'libsehurd-dev:armel'
76 The following NEW packages will be installed:
78 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
79 Inst libsehurd1-dev:armel (1 unstable [armel])
80 Conf libsehurd1-dev:armel (1 unstable [armel])" aptget build
-dep -aarmel sed2
-s