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