]> git.saurik.com Git - apt.git/blob - test/integration/skip-avoid-avoiding-breaks-predepends
CMake: Switch integration tests and travis over
[apt.git] / test / integration / skip-avoid-avoiding-breaks-predepends
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture 'native'
8
9 insertinstalledpackage 'looping' 'native' '1'
10 insertinstalledpackage 'loop1' 'native' '1' 'Depends: loop2 (= 1)'
11 insertinstalledpackage 'loop2' 'native' '1' 'Depends: loop1 (= 1)'
12
13 buildsimplenativepackage 'looping' 'native' '1.15.7.2' 'stable' 'Breaks: loop2 (<= 1)'
14 buildsimplenativepackage 'loop1' 'native' '2' 'stable' 'Depends: loop2 (= 2)'
15 buildsimplenativepackage 'loop2' 'native' '2' 'stable' 'Depends: loop1 (= 2)
16 Pre-Depends: looping (>= 1.15)'
17
18 setupaptarchive
19
20 aptget dist-upgrade -y -o Debug::pkgOrderList=1 #-qq >/dev/null 2>&1
21 testdpkginstalled looping loop1 loop2