]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering
report warnings&errors consistently in edit-sources
[apt.git] / test / integration / test-ubuntu-bug-985852-pre-depends-or-group-ordering
... / ...
CommitLineData
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
15testsuccessequal 'Reading package lists...
16Building dependency tree...
17Calculating upgrade...
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