]>
Commit | Line | Data |
---|---|---|
440d3d65 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
440d3d65 DK |
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 | ||
7a2690a3 | 20 | aptget dist-upgrade -y -o Debug::pkgOrderList=1 #-qq >/dev/null 2>&1 |
440d3d65 | 21 | testdpkginstalled looping loop1 loop2 |