]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-507998-dist-upgrade-recommends
reshuffle dpkgpm.cc code a bit more
[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...
19The following packages will be upgraded:
20 tshark wireshark-common
212 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
22Inst wireshark-common [1.0.4-1] (1.2.1-2 unstable [amd64])
23Inst tshark [1.0.4-1] (1.2.1-2 unstable [amd64])
24Conf wireshark-common (1.2.1-2 unstable [amd64])
25Conf tshark (1.2.1-2 unstable [amd64])' aptget dist-upgrade -s