use 'best' hash for source authentication
[ntk/apt.git] / test / integration / test-ubuntu-bug-985852-pre-depends-or-group-ordering
CommitLineData
f0633b21
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64'
8
9insertinstalledpackage 'custom' 'amd64' '1.0' 'Pre-Depends: grub-pc | grub'
10insertinstalledpackage 'grub' 'amd64' '1.0'
11insertpackage 'unstable' 'custom' 'amd64' '2.0' 'Pre-Depends: grub-pc | grub'
12
13setupaptarchive
14
15testequal 'Reading package lists...
16Building dependency tree...
17The following packages will be upgraded:
18 custom
191 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
20Inst custom [1.0] (2.0 unstable [amd64])
21Conf custom (2.0 unstable [amd64])' aptget dist-upgrade -s