]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-673536-pre-depends-breaks-loop
always send content-length via the new addDataHeaders() to ensure w3m/curl are happy...
[apt.git] / test / integration / test-bug-673536-pre-depends-breaks-loop
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'native'
8
9buildsimplenativepackage 'basic' 'native' '1' 'stable'
10buildsimplenativepackage 'basic' 'native' '2' 'unstable' 'Pre-Depends: common'
11buildsimplenativepackage 'common' 'native' '2' 'unstable' 'Breaks: basic (<= 1)'
12
13setupaptarchive
14
15# we check with 'real' packages here as the simulation reports a 'Conf broken'
16# which is technical correct for the simulation, but testing errormsg is ugly
17
18aptget install basic=1 -qq > /dev/null
19testdpkginstalled basic
20testdpkgnotinstalled common
21
22aptget dist-upgrade -qq > /dev/null
23testdpkginstalled basic common