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