]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture 'amd64' | |
8 | ||
9 | insertinstalledpackage 'custom' 'amd64' '1.0' 'Pre-Depends: grub-pc | grub' | |
10 | insertinstalledpackage 'grub' 'amd64' '1.0' | |
11 | insertpackage 'unstable' 'custom' 'amd64' '2.0' 'Pre-Depends: grub-pc | grub' | |
12 | ||
13 | setupaptarchive | |
14 | ||
15 | testequal 'Reading package lists... | |
16 | Building dependency tree... | |
17 | The following packages will be upgraded: | |
18 | custom | |
19 | 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
20 | Inst custom [1.0] (2.0 unstable [amd64]) | |
21 | Conf custom (2.0 unstable [amd64])' aptget dist-upgrade -s |