]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-provides-gone-with-upgrade
eipp: add Allow-Temporary-Remove-of-Essentials
[apt.git] / test / integration / test-provides-gone-with-upgrade
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture "i386"
8
9insertinstalledpackage 'apt' 'i386' '0.8.14' 'Provides: libapt-pkg4.10'
10insertpackage 'unstable' 'apt' 'i386' '0.8.15' 'Depends: libapt-pkg4.10'
11insertpackage 'unstable' 'libapt-pkg4.10' 'i386' '0.8.15' 'Breaks: apt (<< 0.8.15)
12Replaces: apt (<< 0.8.15)'
13
14setupaptarchive
15
16testsuccessequal 'Reading package lists...
17Building dependency tree...
18Calculating upgrade...
19The following NEW packages will be installed:
20 libapt-pkg4.10
21The following packages will be upgraded:
22 apt
231 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
24Inst apt [0.8.14] (0.8.15 unstable [i386]) []
25Inst libapt-pkg4.10 (0.8.15 unstable [i386])
26Conf libapt-pkg4.10 (0.8.15 unstable [i386])
27Conf apt (0.8.15 unstable [i386])' aptget dist-upgrade -s