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