]> git.saurik.com Git - apt.git/blame - test/integration/test-unpack-different-version-unpacked
add --sha512 option + documentation for apt-ftparchive
[apt.git] / test / integration / test-unpack-different-version-unpacked
CommitLineData
d4b4e5ea
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'i386'
8
9insertpackage 'unstable' 'libqtcore4' 'i386,amd64' '2' 'Multi-Arch: same'
10setupaptarchive
11
12DPKGSTATUS='rootdir/var/lib/dpkg/status'
13cp $DPKGSTATUS dpkg.status
14
15cleanstatus() {
16 cp dpkg.status $DPKGSTATUS
17 rm rootdir/var/cache/apt/*.bin
18}
19
20#FIXME: the reported version is wrong, it should be 1, not 2
21insertinstalledpackage 'libqtcore4' 'i386,amd64' '1' 'Multi-Arch: same' '' 'install ok unpacked'
25b86db1 22testsuccessequal 'Reading package lists...
d4b4e5ea
DK
23Building dependency tree...
240 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
252 not fully installed or removed.
26Conf libqtcore4 (2 unstable [amd64])
27Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
28
29cleanstatus
30insertinstalledpackage 'libqtcore4' 'amd64' '2' 'Multi-Arch: same' '' 'install ok unpacked'
31insertinstalledpackage 'libqtcore4' 'i386' '1' 'Multi-Arch: same' '' 'install ok unpacked'
25b86db1 32testsuccessequal 'Reading package lists...
d4b4e5ea
DK
33Building dependency tree...
34Correcting dependencies... Done
e7ebb414 35The following additional packages will be installed:
d4b4e5ea
DK
36 libqtcore4:i386
37The following packages will be upgraded:
38 libqtcore4:i386
391 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
402 not fully installed or removed.
41Inst libqtcore4:i386 [1] (2 unstable [i386])
42Conf libqtcore4:i386 (2 unstable [i386])
43Conf libqtcore4 (2 unstable [amd64])' aptget install -s -f
44
45cleanstatus
46insertinstalledpackage 'libqtcore4' 'i386' '2' 'Multi-Arch: same' '' 'install ok unpacked'
47insertinstalledpackage 'libqtcore4' 'amd64' '1' 'Multi-Arch: same' '' 'install ok unpacked'
25b86db1 48testsuccessequal 'Reading package lists...
d4b4e5ea
DK
49Building dependency tree...
50Correcting dependencies... Done
e7ebb414 51The following additional packages will be installed:
d4b4e5ea
DK
52 libqtcore4
53The following packages will be upgraded:
54 libqtcore4
551 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
562 not fully installed or removed.
57Inst libqtcore4 [1] (2 unstable [amd64])
58Conf libqtcore4 (2 unstable [amd64])
59Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
60
61cleanstatus
62insertinstalledpackage 'libqtcore4' 'amd64' '2' 'Multi-Arch: same' '' 'install ok unpacked'
63insertinstalledpackage 'libqtcore4' 'i386' '1' 'Multi-Arch: same'
25b86db1 64testsuccessequal 'Reading package lists...
d4b4e5ea
DK
65Building dependency tree...
66Correcting dependencies... Done
e7ebb414 67The following additional packages will be installed:
d4b4e5ea
DK
68 libqtcore4:i386
69The following packages will be upgraded:
70 libqtcore4:i386
711 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
721 not fully installed or removed.
73Inst libqtcore4:i386 [1] (2 unstable [i386])
74Conf libqtcore4:i386 (2 unstable [i386])
75Conf libqtcore4 (2 unstable [amd64])' aptget install -s -f
76
77cleanstatus
78insertinstalledpackage 'libqtcore4' 'i386' '2' 'Multi-Arch: same' '' 'install ok unpacked'
79insertinstalledpackage 'libqtcore4' 'amd64' '1' 'Multi-Arch: same'
25b86db1 80testsuccessequal 'Reading package lists...
d4b4e5ea
DK
81Building dependency tree...
82Correcting dependencies... Done
e7ebb414 83The following additional packages will be installed:
d4b4e5ea
DK
84 libqtcore4
85The following packages will be upgraded:
86 libqtcore4
871 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
881 not fully installed or removed.
89Inst libqtcore4 [1] (2 unstable [amd64])
90Conf libqtcore4 (2 unstable [amd64])
91Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
92
93cleanstatus
94insertinstalledpackage 'libqtcore4' 'amd64' '2' 'Multi-Arch: same'
95insertinstalledpackage 'libqtcore4' 'i386' '1' 'Multi-Arch: same' '' 'install ok unpacked'
25b86db1 96testsuccessequal 'Reading package lists...
d4b4e5ea
DK
97Building dependency tree...
98Correcting dependencies... Done
e7ebb414 99The following additional packages will be installed:
d4b4e5ea
DK
100 libqtcore4:i386
101The following packages will be upgraded:
102 libqtcore4:i386
1031 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1041 not fully installed or removed.
105Inst libqtcore4:i386 [1] (2 unstable [i386])
106Conf libqtcore4:i386 (2 unstable [i386])' aptget install -s -f
107
108cleanstatus
109insertinstalledpackage 'libqtcore4' 'i386' '2' 'Multi-Arch: same'
110insertinstalledpackage 'libqtcore4' 'amd64' '1' 'Multi-Arch: same' '' 'install ok unpacked'
25b86db1 111testsuccessequal 'Reading package lists...
d4b4e5ea
DK
112Building dependency tree...
113Correcting dependencies... Done
e7ebb414 114The following additional packages will be installed:
d4b4e5ea
DK
115 libqtcore4
116The following packages will be upgraded:
117 libqtcore4
1181 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1191 not fully installed or removed.
120Inst libqtcore4 [1] (2 unstable [amd64])
121Conf libqtcore4 (2 unstable [amd64])' aptget install -s -f