]> git.saurik.com Git - apt.git/blame - test/integration/test-cachecontainer-architecture-specification
always send content-length via the new addDataHeaders() to ensure w3m/curl are happy...
[apt.git] / test / integration / test-cachecontainer-architecture-specification
CommitLineData
01f520ce
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'armel'
8
9#insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
10insertpackage 'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same'
11
12setupaptarchive
13
14testequal 'Reading package lists...
15Building dependency tree...
16The following NEW packages will be installed:
17 libsame
180 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
19Inst libsame (1 unstable [amd64])
20Conf libsame (1 unstable [amd64])' aptget -s install libsame
21testequal 'Reading package lists...
22Building dependency tree...
23The following NEW packages will be installed:
24 libsame:armel
250 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
26Inst libsame:armel (1 unstable [armel])
27Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel
28testequal 'Reading package lists...
29Building dependency tree...
30The following NEW packages will be installed:
31 libsame
320 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
33Inst libsame (1 unstable [amd64])
34Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
35testequal 'Reading package lists...
36Building dependency tree...
37The following NEW packages will be installed:
38 libsame libsame:armel
390 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
40Inst libsame (1 unstable [amd64])
41Inst libsame:armel (1 unstable [armel])
42Conf libsame (1 unstable [amd64])
43Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
44testequal 'Reading package lists...
45Building dependency tree...
46The following NEW packages will be installed:
47 libsame libsame:armel
480 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
49Inst libsame (1 unstable [amd64])
50Inst libsame:armel (1 unstable [armel])
51Conf libsame (1 unstable [amd64])
52Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
53testequal 'Reading package lists...
54Building dependency tree...
55The following NEW packages will be installed:
56 libsame
570 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
58Inst libsame (1 unstable [amd64])
59Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
60testequal 'Reading package lists...
61Building dependency tree...
62The following NEW packages will be installed:
63 libsame libsame:armel
640 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
65Inst libsame (1 unstable [amd64])
66Inst libsame:armel (1 unstable [armel])
67Conf libsame (1 unstable [amd64])
68Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
69testequal 'Reading package lists...
70Building dependency tree...
71The following NEW packages will be installed:
72 libsame
730 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
74Inst libsame (1 unstable [amd64])
75Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
76testequal 'Reading package lists...
77Building dependency tree...
78The following NEW packages will be installed:
79 libsame libsame:armel
800 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
81Inst libsame (1 unstable [amd64])
82Inst libsame:armel (1 unstable [armel])
83Conf libsame (1 unstable [amd64])
84Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
85testequal 'Reading package lists...
86Building dependency tree...
87E: Unable to locate package libsame' aptget -s install libsame:windows-any