]> git.saurik.com Git - apt.git/blob - 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
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'amd64' 'armel'
8
9 #insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
10 insertpackage 'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same'
11
12 setupaptarchive
13
14 testequal 'Reading package lists...
15 Building dependency tree...
16 The following NEW packages will be installed:
17 libsame
18 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
19 Inst libsame (1 unstable [amd64])
20 Conf libsame (1 unstable [amd64])' aptget -s install libsame
21 testequal 'Reading package lists...
22 Building dependency tree...
23 The following NEW packages will be installed:
24 libsame:armel
25 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
26 Inst libsame:armel (1 unstable [armel])
27 Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel
28 testequal 'Reading package lists...
29 Building dependency tree...
30 The following NEW packages will be installed:
31 libsame
32 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
33 Inst libsame (1 unstable [amd64])
34 Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
35 testequal 'Reading package lists...
36 Building dependency tree...
37 The following NEW packages will be installed:
38 libsame libsame:armel
39 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
40 Inst libsame (1 unstable [amd64])
41 Inst libsame:armel (1 unstable [armel])
42 Conf libsame (1 unstable [amd64])
43 Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
44 testequal 'Reading package lists...
45 Building dependency tree...
46 The following NEW packages will be installed:
47 libsame libsame:armel
48 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
49 Inst libsame (1 unstable [amd64])
50 Inst libsame:armel (1 unstable [armel])
51 Conf libsame (1 unstable [amd64])
52 Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
53 testequal 'Reading package lists...
54 Building dependency tree...
55 The following NEW packages will be installed:
56 libsame
57 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
58 Inst libsame (1 unstable [amd64])
59 Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
60 testequal 'Reading package lists...
61 Building dependency tree...
62 The following NEW packages will be installed:
63 libsame libsame:armel
64 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
65 Inst libsame (1 unstable [amd64])
66 Inst libsame:armel (1 unstable [armel])
67 Conf libsame (1 unstable [amd64])
68 Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
69 testequal 'Reading package lists...
70 Building dependency tree...
71 The following NEW packages will be installed:
72 libsame
73 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
74 Inst libsame (1 unstable [amd64])
75 Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
76 testequal 'Reading package lists...
77 Building dependency tree...
78 The following NEW packages will be installed:
79 libsame libsame:armel
80 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
81 Inst libsame (1 unstable [amd64])
82 Inst libsame:armel (1 unstable [armel])
83 Conf libsame (1 unstable [amd64])
84 Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
85 testequal 'Reading package lists...
86 Building dependency tree...
87 E: Unable to locate package libsame' aptget -s install libsame:windows-any