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