]> git.saurik.com Git - apt.git/blob - test/integration/test-ubuntu-bug-806274-install-suggests
randomize acquire order for same type index files
[apt.git] / test / integration / test-ubuntu-bug-806274-install-suggests
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture "i386"
8
9 insertpackage 'unstable' 'apt' 'i386' '0.8.15' 'Depends: foo
10 Recommends: bar
11 Suggests: baz'
12 insertpackage 'unstable' 'foo' 'i386' '1.0'
13 insertpackage 'unstable' 'bar' 'i386' '1.0'
14 insertpackage 'unstable' 'baz' 'i386' '1.0'
15
16 setupaptarchive
17
18 testsuccessequal 'Reading package lists...
19 Building dependency tree...
20 The following additional packages will be installed:
21 bar foo
22 Suggested packages:
23 baz
24 The following NEW packages will be installed:
25 apt bar foo
26 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
27 Inst foo (1.0 unstable [i386])
28 Conf foo (1.0 unstable [i386])
29 Inst apt (0.8.15 unstable [i386])
30 Conf apt (0.8.15 unstable [i386])
31 Inst bar (1.0 unstable [i386])
32 Conf bar (1.0 unstable [i386])' aptget install apt -s --install-recommends --no-install-suggests
33
34
35 testsuccessequal 'Reading package lists...
36 Building dependency tree...
37 The following additional packages will be installed:
38 bar baz foo
39 The following NEW packages will be installed:
40 apt bar baz foo
41 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
42 Inst foo (1.0 unstable [i386])
43 Conf foo (1.0 unstable [i386])
44 Inst apt (0.8.15 unstable [i386])
45 Conf apt (0.8.15 unstable [i386])
46 Inst bar (1.0 unstable [i386])
47 Inst baz (1.0 unstable [i386])
48 Conf bar (1.0 unstable [i386])
49 Conf baz (1.0 unstable [i386])' aptget install apt -s --install-recommends --install-suggests
50
51 testsuccessequal 'Reading package lists...
52 Building dependency tree...
53 The following additional packages will be installed:
54 foo
55 Suggested packages:
56 baz
57 Recommended packages:
58 bar
59 The following NEW packages will be installed:
60 apt foo
61 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
62 Inst foo (1.0 unstable [i386])
63 Conf foo (1.0 unstable [i386])
64 Inst apt (0.8.15 unstable [i386])
65 Conf apt (0.8.15 unstable [i386])' aptget install apt -s --no-install-recommends --no-install-suggests
66
67 testsuccessequal 'Reading package lists...
68 Building dependency tree...
69 The following additional packages will be installed:
70 baz foo
71 Recommended packages:
72 bar
73 The following NEW packages will be installed:
74 apt baz foo
75 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
76 Inst foo (1.0 unstable [i386])
77 Conf foo (1.0 unstable [i386])
78 Inst apt (0.8.15 unstable [i386])
79 Conf apt (0.8.15 unstable [i386])
80 Inst baz (1.0 unstable [i386])
81 Conf baz (1.0 unstable [i386])' aptget install apt -s --no-install-recommends --install-suggests