]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-601961-install-info
create non-existent files in edit-sources with 644 instead of 640
[apt.git] / test / integration / test-bug-601961-install-info
CommitLineData
a02f24e0
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
a02f24e0
DK
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
9
25b86db1 10testfailureequal 'Reading package lists...
a02f24e0
DK
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
25b86db1 21testfailureequal 'Reading package lists...
a02f24e0
DK
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
25b86db1 29testfailureequal 'Reading package lists...
a02f24e0
DK
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