]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-720597-build-dep-purge
Make the test more verbose and check for the negative case of a kernel that
[apt.git] / test / integration / test-bug-720597-build-dep-purge
CommitLineData
f42f6ef0
MV
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
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
16testequal 'Reading package lists...
17Building dependency tree...
18The following packages will be REMOVED:
19 pkga
20The following NEW packages will be installed:
21 pkgb
220 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
23Remv pkga [1]
24Inst pkgb (1 stable [amd64])
25Conf pkgb (1 stable [amd64])' aptget build-dep pkgc -s
26
27testequal 'Reading package lists...
28Building dependency tree...
29The following packages will be REMOVED:
30 pkga*
31The following NEW packages will be installed:
32 pkgb
330 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
34Purg pkga [1]
35Inst pkgb (1 stable [amd64])
36Conf pkgb (1 stable [amd64])' aptget build-dep pkgc -s --purge