]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-673536-pre-depends-breaks-loop
4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
7 configarchitecture 'native'
9 buildsimplenativepackage 'advanced' 'native' '1' 'stable'
10 buildsimplenativepackage 'advanced' 'native' '2' 'unstable' 'Pre-Depends: basic'
11 buildsimplenativepackage 'basic' 'native' '2' 'unstable' 'Pre-Depends: common'
13 buildsimplenativepackage 'common' 'native' '2~conflict' 'unstable-conflict' 'Conflicts: advanced (<= 1)'
14 buildsimplenativepackage 'common' 'native' '2~break' 'unstable-break' 'Conflicts: advanced (<= 1)'
18 # we check with 'real' packages here as the simulation reports a 'Conf broken'
19 # which is technical correct for the simulation, but testing errormsg is ugly
21 cp -a rootdir/var/lib/dpkg/status dpkg.status.backup
24 cp -a dpkg.status.backup rootdir/var/lib/dpkg/status
25 rm -f rootdir/var/lib/apt/extended_states
27 testsuccess aptget install advanced=1 -y -t "$1"
28 testdpkginstalled advanced
29 testdpkgnotinstalled basic common
31 testsuccess aptget dist-upgrade -y -t "$1"
32 testdpkginstalled advanced basic common
35 testloopbreak 'unstable-break'
36 testloopbreak 'unstable-conflict'