]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-showlist-orgroup-in-recommends
4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
8 configarchitecture 'i386'
11 insertinstalledpackage 'aaa' 'all' '1'
12 insertinstalledpackage 'ddd' 'all' '1'
13 insertpackage 'unstable' 'aaa' 'all' '1'
14 insertpackage 'unstable' 'ddd' 'all' '1'
15 insertpackage 'unstable' 'yyy' 'all' '1'
16 insertpackage 'unstable' 'zzz' 'all' '1:1'
17 insertpackage 'unstable' 'simple' 'all' '1' 'Recommends: aaa, bbb
19 insertpackage 'unstable' 'orgroup' 'all' '1' 'Recommends: aaa | bbb
21 insertpackage 'unstable' 'orgroup2' 'all' '1' 'Recommends: xxx | yyy
23 insertpackage 'unstable' 'orgroup3' 'all' '1' 'Recommends: xxx | yyy
25 insertpackage 'unstable' 'orgroup4' 'all' '1' 'Recommends: xxx
27 insertpackage 'unstable' 'versionedor' 'all' '1' 'Recommends: aaa (>> 2) | bbb
28 Suggests: ccc | ddd (>> 2)'
32 testsuccessequal 'Reading package lists...
33 Building dependency tree...
38 The following NEW packages will be installed:
40 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
41 Inst simple (1 unstable [all])
42 Conf simple (1 unstable [all])' aptget install simple -s --install-recommends --install-suggests
43 testsuccessequal 'Reading package lists...
44 Building dependency tree...
49 The following NEW packages will be installed:
51 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
52 Inst simple (1 unstable [all])
53 Conf simple (1 unstable [all])' aptget install simple -s --no-install-recommends
54 testsuccessequal 'Reading package lists...
55 Building dependency tree...
60 The following packages will be REMOVED:
62 The following NEW packages will be installed:
64 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
66 Inst simple (1 unstable [all])
67 Conf simple (1 unstable [all])' aptget install simple aaa- -s --no-install-recommends
68 testsuccessequal 'Reading package lists...
69 Building dependency tree...
70 The following NEW packages will be installed:
72 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
73 Inst orgroup (1 unstable [all])
74 Conf orgroup (1 unstable [all])' aptget install orgroup -s --no-install-recommends
75 testsuccessequal 'Reading package lists...
76 Building dependency tree...
79 The following packages will be REMOVED:
81 The following NEW packages will be installed:
83 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
85 Inst orgroup (1 unstable [all])
86 Conf orgroup (1 unstable [all])' aptget install orgroup aaa- -s --no-install-recommends
87 testsuccessequal 'Reading package lists...
88 Building dependency tree...
93 The following NEW packages will be installed:
95 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
96 Inst orgroup2 (1 unstable [all])
97 Conf orgroup2 (1 unstable [all])' aptget install orgroup2 -s --no-install-recommends
98 testsuccessequal 'Reading package lists...
99 Building dependency tree...
102 Recommended packages:
104 The following NEW packages will be installed:
106 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
107 Inst orgroup2 (1 unstable [all])
108 Inst orgroup3 (1 unstable [all])
109 Conf orgroup2 (1 unstable [all])
110 Conf orgroup3 (1 unstable [all])' aptget install orgroup2 orgroup3 -s --no-install-recommends
111 testsuccessequal 'Reading package lists...
112 Building dependency tree...
115 Recommended packages:
117 The following NEW packages will be installed:
119 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
120 Inst orgroup2 (1 unstable [all])
121 Inst orgroup4 (1 unstable [all])
122 Conf orgroup2 (1 unstable [all])
123 Conf orgroup4 (1 unstable [all])' aptget install orgroup2 orgroup4 -s --no-install-recommends
124 testsuccessequal 'Reading package lists...
125 Building dependency tree...
130 Recommended packages:
134 The following NEW packages will be installed:
137 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
138 Inst orgroup2 (1 unstable [all])
139 Inst orgroup4 (1 unstable [all])
140 Conf orgroup2 (1 unstable [all])
141 Conf orgroup4 (1 unstable [all])' aptget install orgroup2 orgroup4 -s -V --no-install-recommends
142 testsuccessequal 'Reading package lists...
143 Building dependency tree...
146 Recommended packages:
148 The following NEW packages will be installed:
152 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
153 Inst orgroup2 (1 unstable [all])
154 Inst orgroup4 (1 unstable [all])
155 Inst yyy (1 unstable [all])
156 Conf orgroup2 (1 unstable [all])
157 Conf orgroup4 (1 unstable [all])
158 Conf yyy (1 unstable [all])' aptget install orgroup2 orgroup4 yyy -s -V --no-install-recommends
159 testsuccessequal 'Reading package lists...
160 Building dependency tree...
163 Recommended packages:
165 The following NEW packages will be installed:
167 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
168 Inst versionedor (1 unstable [all])
169 Conf versionedor (1 unstable [all])' aptget install versionedor -s --no-install-recommends
171 SHOWSUGGEST='Reading package lists...
172 Building dependency tree...
175 Recommended packages:
177 The following NEW packages will be installed:
179 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
180 Inst orgroup4 (1 unstable [all])
181 Conf orgroup4 (1 unstable [all])'
182 INSTSUGGEST='Reading package lists...
183 Building dependency tree...
184 The following additional packages will be installed:
186 Recommended packages:
188 The following NEW packages will be installed:
190 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
191 Inst orgroup4 (1 unstable [all])
192 Inst zzz (1:1 unstable [all])
193 Conf orgroup4 (1 unstable [all])
194 Conf zzz (1:1 unstable [all])'
195 testsuccessequal "$SHOWSUGGEST" aptget install orgroup4 -s
196 testsuccessequal "$INSTSUGGEST" aptget install orgroup4 --install-suggests -s
197 echo 'Binary::apt-get::APT::Install-Suggests "true
";' > rootdir/etc/apt/apt.conf.d/99binaryspecific.conf
198 testsuccessequal "$INSTSUGGEST" aptget install orgroup4 -s
199 testsuccessequal "$SHOWSUGGEST" apt install orgroup4 -s
200 testsuccessequal "$SHOWSUGGEST" aptget install orgroup4 -s --no-install-suggests