File: skip-avoid-avoiding-breaks-predepends

package info (click to toggle)
apt 3.1.13
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 22,764 kB
  • sloc: cpp: 71,085; sh: 31,750; xml: 5,553; perl: 217; python: 197; ansic: 191; makefile: 41
file content (21 lines) | stat: -rwxr-xr-x 710 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 >/dev/null 2>&1
testdpkginstalled looping loop1 loop2