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