]>
git.saurik.com Git - apt.git/blob - test/integration/test-cachecontainer-architecture-specification
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'armel'
9 #insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
10 insertpackage
'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same'
11 insertpackage
'unstable' 'foo' 'all' '1'
15 testsuccessequal
'Reading package lists...
16 Building dependency tree...
17 The following NEW packages will be installed:
19 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
20 Inst libsame (1 unstable [amd64])
21 Conf libsame (1 unstable [amd64])' aptget
-s install libsame
22 testsuccessequal
'Reading package lists...
23 Building dependency tree...
24 The following NEW packages will be installed:
26 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
27 Inst libsame:armel (1 unstable [armel])
28 Conf libsame:armel (1 unstable [armel])' aptget
-s install libsame
:armel
29 testfailureequal
'Reading package lists...
30 Building dependency tree...
31 E: Unable to locate package libsame:armhf' aptget
-s install libsame
:armhf
32 testsuccessequal
'Reading package lists...
33 Building dependency tree...
34 The following NEW packages will be installed:
36 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
37 Inst libsame (1 unstable [amd64])
38 Conf libsame (1 unstable [amd64])' aptget
-s install libsame
:amd64
39 testsuccessequal
'Reading package lists...
40 Building dependency tree...
41 The following NEW packages will be installed:
43 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
44 Inst libsame (1 unstable [amd64])
45 Inst libsame:armel (1 unstable [armel])
46 Conf libsame (1 unstable [amd64])
47 Conf libsame:armel (1 unstable [armel])' aptget
-s install libsame
:armel libsame
:amd64
48 testsuccessequal
'Reading package lists...
49 Building dependency tree...
50 The following NEW packages will be installed:
52 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
53 Inst libsame (1 unstable [amd64])
54 Inst libsame:armel (1 unstable [armel])
55 Conf libsame (1 unstable [amd64])
56 Conf libsame:armel (1 unstable [armel])' aptget
-s install libsame
:*
57 testsuccessequal
'Reading package lists...
58 Building dependency tree...
59 The following NEW packages will be installed:
61 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
62 Inst libsame (1 unstable [amd64])
63 Conf libsame (1 unstable [amd64])' aptget
-s install libsame
:any
64 testsuccessequal
'Reading package lists...
65 Building dependency tree...
66 The following NEW packages will be installed:
68 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
69 Inst libsame (1 unstable [amd64])
70 Inst libsame:armel (1 unstable [armel])
71 Conf libsame (1 unstable [amd64])
72 Conf libsame:armel (1 unstable [armel])' aptget
-s install libsame
:a
*
73 testsuccessequal
'Reading package lists...
74 Building dependency tree...
75 The following NEW packages will be installed:
77 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
78 Inst libsame (1 unstable [amd64])
79 Conf libsame (1 unstable [amd64])' aptget
-s install libsame
:linux
-any
80 testsuccessequal
'Reading package lists...
81 Building dependency tree...
82 The following NEW packages will be installed:
84 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
85 Inst libsame (1 unstable [amd64])
86 Inst libsame:armel (1 unstable [armel])
87 Conf libsame (1 unstable [amd64])
88 Conf libsame:armel (1 unstable [armel])' aptget
-s install libsame
:linux
-*
89 testfailureequal
'Reading package lists...
90 Building dependency tree...
91 E: Unable to locate package libsame:windows-any' aptget
-s install libsame
:windows
-any
93 testfailureequal
'Reading package lists...
94 Building dependency tree...
95 E: Unable to locate package foo:armel' aptget
-s install foo
:armel
96 testsuccessequal
'Reading package lists...
97 Building dependency tree...
98 The following NEW packages will be installed:
100 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
101 Inst foo (1 unstable [all])
102 Conf foo (1 unstable [all])' aptget
-s install foo
103 testsuccessequal
'Reading package lists...
104 Building dependency tree...
105 The following NEW packages will be installed:
107 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
108 Inst foo (1 unstable [all])
109 Conf foo (1 unstable [all])' aptget
-s install foo
:all
110 testsuccessequal
'Reading package lists...
111 Building dependency tree...
112 The following NEW packages will be installed:
114 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
115 Inst foo (1 unstable [all])
116 Conf foo (1 unstable [all])' aptget
-s install foo
:amd64
117 testsuccessequal
'Reading package lists...
118 Building dependency tree...
119 The following NEW packages will be installed:
121 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
122 Inst foo (1 unstable [all])
123 Conf foo (1 unstable [all])' aptget
-s install foo
:native