diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-06-12 15:40:56 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-06-12 15:40:56 +0200 |
commit | 82c6f7528d583431722ef180b6064b86b644ad85 (patch) | |
tree | 082fc70851a46dbeba9c2e061c1bd1065da98f57 /test/integration/test-bug-673536-pre-depends-breaks-loop | |
parent | e08c5854bb9b5f352b0856533f95c12e858728ca (diff) |
add a testcase for #675449, which i forgot to commit
Diffstat (limited to 'test/integration/test-bug-673536-pre-depends-breaks-loop')
-rwxr-xr-x | test/integration/test-bug-673536-pre-depends-breaks-loop | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/integration/test-bug-673536-pre-depends-breaks-loop b/test/integration/test-bug-673536-pre-depends-breaks-loop new file mode 100755 index 000000000..e9d3c4de6 --- /dev/null +++ b/test/integration/test-bug-673536-pre-depends-breaks-loop @@ -0,0 +1,23 @@ +#!/bin/sh +set -e + +TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework +setupenvironment +configarchitecture 'native' + +buildsimplenativepackage 'basic' 'native' '1' 'stable' +buildsimplenativepackage 'basic' 'native' '2' 'unstable' 'Pre-Depends: common' +buildsimplenativepackage 'common' 'native' '2' 'unstable' 'Breaks: basic (<= 1)' + +setupaptarchive + +# we check with 'real' packages here as the simulation reports a 'Conf broken' +# which is technical correct for the simulation, but testing errormsg is ugly + +aptget install basic=1 -qq > /dev/null +testdpkginstalled basic +testdpkgnotinstalled common + +aptget dist-upgrade -qq > /dev/null +testdpkginstalled basic common |