]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-673536-pre-depends-breaks-loop
Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sid
[apt.git] / test / integration / test-bug-673536-pre-depends-breaks-loop
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'native'
8
9 buildsimplenativepackage 'basic' 'native' '1' 'stable'
10 buildsimplenativepackage 'basic' 'native' '2' 'unstable' 'Pre-Depends: common'
11 buildsimplenativepackage 'common' 'native' '2' 'unstable' 'Breaks: basic (<= 1)'
12
13 setupaptarchive
14
15 # we check with 'real' packages here as the simulation reports a 'Conf broken'
16 # which is technical correct for the simulation, but testing errormsg is ugly
17
18 testsuccess aptget install basic=1 -y
19 testdpkginstalled basic
20 testdpkgnotinstalled common
21
22 testsuccess aptget dist-upgrade -y
23 testdpkginstalled basic common