]>
Commit | Line | Data |
---|---|---|
f42f6ef0 MV |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
f42f6ef0 MV |
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 | ||
25b86db1 | 16 | testsuccessequal 'Reading package lists... |
f42f6ef0 MV |
17 | Building dependency tree... |
18 | The following packages will be REMOVED: | |
19 | pkga | |
20 | The following NEW packages will be installed: | |
21 | pkgb | |
22 | 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. | |
23 | Remv pkga [1] | |
24 | Inst pkgb (1 stable [amd64]) | |
25 | Conf pkgb (1 stable [amd64])' aptget build-dep pkgc -s | |
26 | ||
25b86db1 | 27 | testsuccessequal 'Reading package lists... |
f42f6ef0 MV |
28 | Building dependency tree... |
29 | The following packages will be REMOVED: | |
30 | pkga* | |
31 | The following NEW packages will be installed: | |
32 | pkgb | |
33 | 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. | |
34 | Purg pkga [1] | |
35 | Inst pkgb (1 stable [amd64]) | |
36 | Conf pkgb (1 stable [amd64])' aptget build-dep pkgc -s --purge |