| 123456789101112131415161718192021222324 |
- #!/bin/sh
- set -e
- TESTDIR=$(readlink -f $(dirname $0))
- . $TESTDIR/framework
- setupenvironment
- configarchitecture 'native'
- buildsimplenativepackage 'basic' 'native' '1' 'stable'
- buildsimplenativepackage 'basic' 'native' '2' 'unstable' 'Pre-Depends: common'
- buildsimplenativepackage 'common' 'native' '2' 'unstable' 'Breaks: basic (<= 1)'
- setupaptarchive
- # we check with 'real' packages here as the simulation reports a 'Conf broken'
- # which is technical correct for the simulation, but testing errormsg is ugly
- testsuccess aptget install basic=1 -y
- testdpkginstalled basic
- testdpkgnotinstalled common
- testsuccess aptget dist-upgrade -y
- testdpkginstalled basic common
|