]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-593360-modifiers-in-names
The entire concept of PendingError() is flawed :/.
[apt.git] / test / integration / test-bug-593360-modifiers-in-names
CommitLineData
898d27df
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
898d27df
DK
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
9
25b86db1 10testsuccessequal 'Reading package lists...
898d27df
DK
11Building dependency tree...
12The following NEW packages will be installed:
13 g++
140 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
15Inst g++ (4:4.4.5-1 localhost [i386])
16Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g++ -s
17
25b86db1 18testsuccessequal "Reading package lists...
e6a12579
DK
19Building dependency tree...
20Package 'g++' is not installed, so not removed
210 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove g++ -s
22
25b86db1 23testsuccessequal 'Reading package lists...
898d27df
DK
24Building dependency tree...
25The following NEW packages will be installed:
26 g++
270 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
28Inst g++ (4:4.4.5-1 localhost [i386])
29Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g+++ -s
30
25b86db1 31testsuccessequal 'Reading package lists...
898d27df
DK
32Building dependency tree...
33The following NEW packages will be installed:
34 g++
350 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
36Inst g++ (4:4.4.5-1 localhost [i386])
37Conf g++ (4:4.4.5-1 localhost [i386])' aptget purge g+++ -s
38
25b86db1 39testsuccessequal 'Reading package lists...
898d27df
DK
40Building dependency tree...
41The following NEW packages will be installed:
42 apt
430 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
44Inst apt (0.8.8 localhost [all])
45Conf apt (0.8.8 localhost [all])' aptget install apt -s
898d27df 46
25b86db1 47testsuccessequal 'Reading package lists...
898d27df
DK
48Building dependency tree...
49The following NEW packages will be installed:
50 apt+
510 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
52Inst apt+ (0.8.8 localhost [all])
53Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s
898d27df 54
25b86db1 55testsuccessequal 'Reading package lists...
898d27df
DK
56Building dependency tree...
57The following NEW packages will be installed:
58 apt+
590 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
60Inst apt+ (0.8.8 localhost [all])
61Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s
898d27df 62
25b86db1 63testsuccessequal 'Reading package lists...
898d27df
DK
64Building dependency tree...
65The following NEW packages will be installed:
66 apt+
670 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
68Inst apt+ (0.8.8 localhost [all])
69Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s