diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-03 11:43:21 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-03-03 11:43:21 +0100 |
commit | 440d3d654a5f85e8b5c0472e91f425fbac9541b8 (patch) | |
tree | b110a5a9f518ef3f095037899565a2fd019d16d4 /test | |
parent | d73840dc51fe0762e0d170c47e07e13211a0de95 (diff) | |
download | apt-440d3d654a5f85e8b5c0472e91f425fbac9541b8.tar.gz |
* apt-pkg/packagemanager.cc:
- do not try to a void a breaks if the broken package pre-depends
on the breaker, but let dpkg auto-deconfigure it
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/skip-avoid-avoiding-breaks-predepends | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/integration/skip-avoid-avoiding-breaks-predepends b/test/integration/skip-avoid-avoiding-breaks-predepends new file mode 100755 index 000000000..a47e8bc2b --- /dev/null +++ b/test/integration/skip-avoid-avoiding-breaks-predepends @@ -0,0 +1,21 @@ +#!/bin/sh +set -e + +TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework +setupenvironment +configarchitecture 'native' + +insertinstalledpackage 'looping' 'native' '1' +insertinstalledpackage 'loop1' 'native' '1' 'Depends: loop2 (= 1)' +insertinstalledpackage 'loop2' 'native' '1' 'Depends: loop1 (= 1)' + +buildsimplenativepackage 'looping' 'native' '1.15.7.2' 'stable' 'Breaks: loop2 (<= 1)' +buildsimplenativepackage 'loop1' 'native' '2' 'stable' 'Depends: loop2 (= 2)' +buildsimplenativepackage 'loop2' 'native' '2' 'stable' 'Depends: loop1 (= 2) +Pre-Depends: looping (>= 1.15)' + +setupaptarchive + +aptget dist-upgrade -y -o Debug::pkgOrderList=1 #-qq 2>&1 > /dev/null +testdpkginstalled looping loop1 loop2 |