]> git.saurik.com Git - apt.git/blame - test/integration/test-ubuntu-bug-806274-install-suggests
Use _apt as our unprivileged user name
[apt.git] / test / integration / test-ubuntu-bug-806274-install-suggests
CommitLineData
b41929c0
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
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
18testequal 'Reading package lists...
19Building dependency tree...
20The following extra packages will be installed:
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
35testequal 'Reading package lists...
36Building dependency tree...
37The following extra packages will be installed:
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
51testequal 'Reading package lists...
52Building dependency tree...
53The following extra packages will be installed:
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
67testequal 'Reading package lists...
68Building dependency tree...
69The following extra packages will be installed:
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