]>
git.saurik.com Git - apt.git/blob - test/integration/test-multiarch-foreign
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'i386' 'armel'
9 insertpackage
'unstable' 'cool-foo' 'amd64,i386' '1.0' 'Depends: foo'
10 insertpackage
'unstable' 'foo' 'amd64,i386,armel' '1.0' 'Multi-Arch: foreign'
12 insertpackage
'unstable' 'cool-bar' 'amd64,i386' '1.0' 'Depends: bar-provider'
13 insertpackage
'unstable' 'bar' 'amd64,i386,armel' '1.0' 'Provides: bar-provider
18 testequal
'Reading package lists...
19 Building dependency tree...
20 The following extra packages will be installed:
22 The following NEW packages will be installed:
24 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
25 Inst foo (1.0 unstable [amd64])
26 Inst cool-foo:i386 (1.0 unstable [i386])
27 Conf foo (1.0 unstable [amd64])
28 Conf cool-foo:i386 (1.0 unstable [i386])' aptget
install cool
-foo:i386
-s
30 testequal
'Reading package lists...
31 Building dependency tree...
32 The following extra packages will be installed:
34 The following NEW packages will be installed:
36 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
37 Inst foo (1.0 unstable [amd64])
38 Inst cool-foo (1.0 unstable [amd64])
39 Conf foo (1.0 unstable [amd64])
40 Conf cool-foo (1.0 unstable [amd64])' aptget
install cool
-foo:amd64
-s
42 testequal
'Reading package lists...
43 Building dependency tree...
44 The following NEW packages will be installed:
46 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
47 Inst foo (1.0 unstable [amd64])
48 Inst cool-foo (1.0 unstable [amd64])
49 Conf foo (1.0 unstable [amd64])
50 Conf cool-foo (1.0 unstable [amd64])' aptget
install cool
-foo:amd64 foo
:amd64
-s
52 testequal
'Reading package lists...
53 Building dependency tree...
54 The following NEW packages will be installed:
56 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
57 Inst foo:i386 (1.0 unstable [i386])
58 Inst cool-foo (1.0 unstable [amd64])
59 Conf foo:i386 (1.0 unstable [i386])
60 Conf cool-foo (1.0 unstable [amd64])' aptget
install cool
-foo:amd64 foo
:i386
-s
62 testequal
'Reading package lists...
63 Building dependency tree...
64 The following NEW packages will be installed:
66 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
67 Inst foo:armel (1.0 unstable [armel])
68 Inst cool-foo (1.0 unstable [amd64])
69 Conf foo:armel (1.0 unstable [armel])
70 Conf cool-foo (1.0 unstable [amd64])' aptget
install cool
-foo:amd64 foo
:armel
-s
76 testequal
'Reading package lists...
77 Building dependency tree...
78 The following extra packages will be installed:
80 The following NEW packages will be installed:
82 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
83 Inst bar (1.0 unstable [amd64])
84 Inst cool-bar:i386 (1.0 unstable [i386])
85 Conf bar (1.0 unstable [amd64])
86 Conf cool-bar:i386 (1.0 unstable [i386])' aptget
install cool
-bar:i386
-s
88 testequal
'Reading package lists...
89 Building dependency tree...
90 The following extra packages will be installed:
92 The following NEW packages will be installed:
94 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
95 Inst bar (1.0 unstable [amd64])
96 Inst cool-bar (1.0 unstable [amd64])
97 Conf bar (1.0 unstable [amd64])
98 Conf cool-bar (1.0 unstable [amd64])' aptget
install cool
-bar:amd64
-s
100 testequal
'Reading package lists...
101 Building dependency tree...
102 The following NEW packages will be installed:
104 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
105 Inst bar (1.0 unstable [amd64])
106 Inst cool-bar (1.0 unstable [amd64])
107 Conf bar (1.0 unstable [amd64])
108 Conf cool-bar (1.0 unstable [amd64])' aptget
install cool
-bar:amd64 bar
:amd64
-s
110 testequal
'Reading package lists...
111 Building dependency tree...
112 The following NEW packages will be installed:
114 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
115 Inst bar:i386 (1.0 unstable [i386])
116 Inst cool-bar (1.0 unstable [amd64])
117 Conf bar:i386 (1.0 unstable [i386])
118 Conf cool-bar (1.0 unstable [amd64])' aptget
install cool
-bar:amd64 bar
:i386
-s
120 testequal
'Reading package lists...
121 Building dependency tree...
122 The following NEW packages will be installed:
124 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
125 Inst bar:armel (1.0 unstable [armel])
126 Inst cool-bar (1.0 unstable [amd64])
127 Conf bar:armel (1.0 unstable [armel])
128 Conf cool-bar (1.0 unstable [amd64])' aptget
install cool
-bar:amd64 bar
:armel
-s
130 testequal
"Reading package lists...
131 Building dependency tree...
132 Note, selecting 'bar' instead of 'bar-provider'
133 The following NEW packages will be installed:
135 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
136 Inst bar (1.0 unstable [amd64])
137 Inst cool-bar (1.0 unstable [amd64])
138 Conf bar (1.0 unstable [amd64])
139 Conf cool-bar (1.0 unstable [amd64])" aptget
install cool
-bar bar
-provider -s -q=0
141 testequal
"Reading package lists...
142 Building dependency tree...
143 Note, selecting 'bar:i386' instead of 'bar-provider:i386'
144 The following NEW packages will be installed:
146 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
147 Inst bar:i386 (1.0 unstable [i386])
148 Inst cool-bar (1.0 unstable [amd64])
149 Conf bar:i386 (1.0 unstable [i386])
150 Conf cool-bar (1.0 unstable [amd64])" aptget
install cool
-bar bar
-provider:i386
-s -q=0