]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-601961-install-info
respect --keyring also in merged keyring commands
[apt.git] / test / integration / test-bug-601961-install-info
CommitLineData
a02f24e0
DK
1#!/bin/sh
2set -e
3
adee3bae 4TESTDIR=$(readlink -f $(dirname $0))
a02f24e0
DK
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
9
10testequal 'Reading package lists...
11Building dependency tree...
12The following packages will be REMOVED:
13 findutils
14WARNING: The following essential packages will be removed.
15This should NOT be done unless you know exactly what you are doing!
16 findutils
170 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
18After this operation, 1745 kB disk space will be freed.
19E: Trivial Only specified but this is not a trivial operation.' aptget remove findutils --trivial-only
20
21testequal 'Reading package lists...
22Building dependency tree...
23The following packages will be REMOVED:
24 install-info
250 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
26After this operation, 262 kB disk space will be freed.
27E: Trivial Only specified but this is not a trivial operation.' aptget remove install-info --trivial-only
28
29testequal 'Reading package lists...
30Building dependency tree...
31The following packages will be REMOVED:
32 essentialpkg findutils
33WARNING: The following essential packages will be removed.
34This should NOT be done unless you know exactly what you are doing!
35 findutils essentialpkg (due to findutils)
360 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
37After this operation, 2007 kB disk space will be freed.
38E: Trivial Only specified but this is not a trivial operation.' aptget remove essentialpkg --trivial-only