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