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