]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-720597-build-dep-purge
pass versioned provides to external solvers in EDSP
[apt.git] / test / integration / test-bug-720597-build-dep-purge
CommitLineData
f42f6ef0
MV
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
f42f6ef0
MV
6setupenvironment
7configarchitecture 'amd64'
8
9insertinstalledpackage 'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
10insertinstalledpackage 'pkga' 'all' '1'
11buildsimplenativepackage 'pkgb' 'amd64' '1' 'stable' 'Conflicts: pkga'
12buildsimplenativepackage 'pkgc' 'amd64' '1' 'stable' 'Build-Depends: pkgb'
13
14setupaptarchive
15
25b86db1 16testsuccessequal 'Reading package lists...
a249b3e6 17Reading package lists...
f42f6ef0
MV
18Building dependency tree...
19The following packages will be REMOVED:
20 pkga
21The following NEW packages will be installed:
22 pkgb
230 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
24Remv pkga [1]
25Inst pkgb (1 stable [amd64])
26Conf pkgb (1 stable [amd64])' aptget build-dep pkgc -s
27
25b86db1 28testsuccessequal 'Reading package lists...
a249b3e6 29Reading package lists...
f42f6ef0
MV
30Building dependency tree...
31The following packages will be REMOVED:
32 pkga*
33The following NEW packages will be installed:
34 pkgb
350 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
36Purg pkga [1]
37Inst pkgb (1 stable [amd64])
38Conf pkgb (1 stable [amd64])' aptget build-dep pkgc -s --purge