]>
Commit | Line | Data |
---|---|---|
898d27df DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
3abb6a6a DK |
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" |
5 | . "$TESTDIR/framework" | |
898d27df DK |
6 | setupenvironment |
7 | configarchitecture "i386" | |
8 | setupaptarchive | |
9 | ||
25b86db1 | 10 | testsuccessequal 'Reading package lists... |
898d27df DK |
11 | Building dependency tree... |
12 | The following NEW packages will be installed: | |
13 | g++ | |
14 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
15 | Inst g++ (4:4.4.5-1 localhost [i386]) | |
16 | Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g++ -s | |
17 | ||
25b86db1 | 18 | testsuccessequal "Reading package lists... |
e6a12579 DK |
19 | Building dependency tree... |
20 | Package 'g++' is not installed, so not removed | |
21 | 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove g++ -s | |
22 | ||
25b86db1 | 23 | testsuccessequal 'Reading package lists... |
898d27df DK |
24 | Building dependency tree... |
25 | The following NEW packages will be installed: | |
26 | g++ | |
27 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
28 | Inst g++ (4:4.4.5-1 localhost [i386]) | |
29 | Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g+++ -s | |
30 | ||
25b86db1 | 31 | testsuccessequal 'Reading package lists... |
898d27df DK |
32 | Building dependency tree... |
33 | The following NEW packages will be installed: | |
34 | g++ | |
35 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
36 | Inst g++ (4:4.4.5-1 localhost [i386]) | |
37 | Conf g++ (4:4.4.5-1 localhost [i386])' aptget purge g+++ -s | |
38 | ||
25b86db1 | 39 | testsuccessequal 'Reading package lists... |
898d27df DK |
40 | Building dependency tree... |
41 | The following NEW packages will be installed: | |
42 | apt | |
43 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
ca238ede DK |
44 | Inst apt (0.8.8 localhost [all]) |
45 | Conf apt (0.8.8 localhost [all])' aptget install apt -s | |
898d27df | 46 | |
25b86db1 | 47 | testsuccessequal 'Reading package lists... |
898d27df DK |
48 | Building dependency tree... |
49 | The following NEW packages will be installed: | |
50 | apt+ | |
51 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
ca238ede DK |
52 | Inst apt+ (0.8.8 localhost [all]) |
53 | Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s | |
898d27df | 54 | |
25b86db1 | 55 | testsuccessequal 'Reading package lists... |
898d27df DK |
56 | Building dependency tree... |
57 | The following NEW packages will be installed: | |
58 | apt+ | |
59 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
ca238ede DK |
60 | Inst apt+ (0.8.8 localhost [all]) |
61 | Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s | |
898d27df | 62 | |
25b86db1 | 63 | testsuccessequal 'Reading package lists... |
898d27df DK |
64 | Building dependency tree... |
65 | The following NEW packages will be installed: | |
66 | apt+ | |
67 | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | |
ca238ede DK |
68 | Inst apt+ (0.8.8 localhost [all]) |
69 | Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s |