]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-593360-modifiers-in-names
centralize unlink checks in acquire-item
[apt.git] / test / integration / test-bug-593360-modifiers-in-names
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture "i386"
8 setupaptarchive
9
10 testsuccessequal 'Reading package lists...
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
18 testsuccessequal "Reading package lists...
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
23 testsuccessequal 'Reading package lists...
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
31 testsuccessequal 'Reading package lists...
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
39 testsuccessequal 'Reading package lists...
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.
44 Inst apt (0.8.8 localhost [all])
45 Conf apt (0.8.8 localhost [all])' aptget install apt -s
46
47 testsuccessequal 'Reading package lists...
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.
52 Inst apt+ (0.8.8 localhost [all])
53 Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s
54
55 testsuccessequal 'Reading package lists...
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.
60 Inst apt+ (0.8.8 localhost [all])
61 Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s
62
63 testsuccessequal 'Reading package lists...
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.
68 Inst apt+ (0.8.8 localhost [all])
69 Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s