]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-507998-dist-upgrade-recommends
adapt to the new CacheSetHelper API
[apt.git] / test / integration / test-bug-507998-dist-upgrade-recommends
CommitLineData
3d4f7190
CB
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64'
8
9insertinstalledpackage 'tshark' 'amd64' '1.0.4-1' 'Depends: wireshark-common'
10insertinstalledpackage 'wireshark-common' 'amd64' '1.0.4-1' 'Recommends: wireshark (>= 1.0.4-1) | tshark (>= 1.0.4-1)'
11insertpackage 'unstable' 'tshark' 'amd64' '1.2.1-2' 'Depends: wireshark-common (= 1.2.1-2)'
12insertpackage 'unstable' 'wireshark-common' 'amd64' '1.2.1-2' 'Recommends: wireshark (>= 1.2.1-2) | tshark (>= 1.2.1-2)'
13insertpackage 'unstable' 'wireshark' 'amd64' '1.2.1-2' 'Depends: wireshark-common (= 1.2.1-2)'
14
15setupaptarchive
16
17testequal 'Reading package lists...
18Building dependency tree...
2a884c61 19Calculating upgrade...
3d4f7190
CB
20The following packages will be upgraded:
21 tshark wireshark-common
222 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
23Inst wireshark-common [1.0.4-1] (1.2.1-2 unstable [amd64])
24Inst tshark [1.0.4-1] (1.2.1-2 unstable [amd64])
25Conf wireshark-common (1.2.1-2 unstable [amd64])
26Conf tshark (1.2.1-2 unstable [amd64])' aptget dist-upgrade -s