diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-04-19 22:41:25 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-04-19 22:41:25 +0200 |
commit | f0633b216cd019ac0c508a46440943c91f07f65d (patch) | |
tree | df78f57e0b962c1fc5ada658e27b266db5c6ebdc /test/integration | |
parent | d8e25d34e89d66b4c38d6b19b4bb2af08f5bd019 (diff) |
add a very simple testcase for the lp#985852 fix in the previous commit
Diffstat (limited to 'test/integration')
-rwxr-xr-x | test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering b/test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering new file mode 100755 index 000000000..462acad00 --- /dev/null +++ b/test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering @@ -0,0 +1,21 @@ +#!/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... +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 |