]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-593360-modifiers-in-names
* apt-pkg/cachefilter.cc:
[apt.git] / test / integration / test-bug-593360-modifiers-in-names
CommitLineData
898d27df
DK
1#!/bin/sh
2set -e
3
adee3bae 4TESTDIR=$(readlink -f $(dirname $0))
898d27df
DK
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
9
10testequal 'Reading package lists...
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
e6a12579
DK
18testequal "Reading package lists...
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
898d27df
DK
23testequal 'Reading package lists...
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
31testequal 'Reading package lists...
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
39testequal 'Reading package lists...
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
DK
46
47testequal 'Reading package lists...
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
DK
54
55testequal 'Reading package lists...
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
DK
62
63testequal 'Reading package lists...
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