summaryrefslogtreecommitdiffstats
path: root/test/integration/test-ubuntu-bug-806274-install-suggests
blob: b73a6f7541b0e79593855ffbd46b3a950c82314b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/sh
set -e

TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"

insertpackage 'unstable' 'apt' 'i386' '0.8.15' 'Depends: foo
Recommends: bar
Suggests: baz'
insertpackage 'unstable' 'foo' 'i386' '1.0'
insertpackage 'unstable' 'bar' 'i386' '1.0'
insertpackage 'unstable' 'baz' 'i386' '1.0'

setupaptarchive

testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  bar foo
Suggested packages:
  baz
The following NEW packages will be installed:
  apt bar foo
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Inst foo (1.0 unstable [i386])
Conf foo (1.0 unstable [i386])
Inst apt (0.8.15 unstable [i386])
Conf apt (0.8.15 unstable [i386])
Inst bar (1.0 unstable [i386])
Conf bar (1.0 unstable [i386])' aptget install apt -s --install-recommends --no-install-suggests


testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  bar baz foo
The following NEW packages will be installed:
  apt bar baz foo
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Inst foo (1.0 unstable [i386])
Conf foo (1.0 unstable [i386])
Inst apt (0.8.15 unstable [i386])
Conf apt (0.8.15 unstable [i386])
Inst bar (1.0 unstable [i386])
Inst baz (1.0 unstable [i386])
Conf bar (1.0 unstable [i386])
Conf baz (1.0 unstable [i386])' aptget install apt -s --install-recommends --install-suggests

testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  foo
Suggested packages:
  baz
Recommended packages:
  bar
The following NEW packages will be installed:
  apt foo
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst foo (1.0 unstable [i386])
Conf foo (1.0 unstable [i386])
Inst apt (0.8.15 unstable [i386])
Conf apt (0.8.15 unstable [i386])' aptget install apt -s --no-install-recommends --no-install-suggests

testsuccessequal 'Reading package lists...
Building dependency tree...
The following additional packages will be installed:
  baz foo
Recommended packages:
  bar
The following NEW packages will be installed:
  apt baz foo
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Inst foo (1.0 unstable [i386])
Conf foo (1.0 unstable [i386])
Inst apt (0.8.15 unstable [i386])
Conf apt (0.8.15 unstable [i386])
Inst baz (1.0 unstable [i386])
Conf baz (1.0 unstable [i386])' aptget install apt -s --no-install-recommends --install-suggests