]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-bug-593360-modifiers-in-names
merged from the debian-sid branch
[apt.git] / test / integration / test-bug-593360-modifiers-in-names
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
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
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
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.
44Inst apt (0.8.8 localhost [all])
45Conf apt (0.8.8 localhost [all])' aptget install apt -s
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.
52Inst apt+ (0.8.8 localhost [all])
53Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s
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.
60Inst apt+ (0.8.8 localhost [all])
61Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s
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.
68Inst apt+ (0.8.8 localhost [all])
69Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s