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