]> git.saurik.com Git - apt.git/blame - test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering
tests: allow to disable generation of InRelease/Release.gpg file
[apt.git] / test / integration / test-ubuntu-bug-985852-pre-depends-or-group-ordering
CommitLineData
f0633b21
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
f0633b21
DK
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
25b86db1 15testsuccessequal 'Reading package lists...
f0633b21 16Building dependency tree...
2a884c61 17Calculating upgrade...
f0633b21
DK
18The following packages will be upgraded:
19 custom
201 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
21Inst custom [1.0] (2.0 unstable [amd64])
22Conf custom (2.0 unstable [amd64])' aptget dist-upgrade -s