]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-593360-modifiers-in-names
* apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc:
[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 testequal '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 testequal 'Reading package lists...
19 Building dependency tree...
20 The following NEW packages will be installed:
21 g++
22 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
23 Inst g++ (4:4.4.5-1 localhost [i386])
24 Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g+++ -s
25
26 testequal 'Reading package lists...
27 Building dependency tree...
28 The following NEW packages will be installed:
29 g++
30 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
31 Inst g++ (4:4.4.5-1 localhost [i386])
32 Conf g++ (4:4.4.5-1 localhost [i386])' aptget purge g+++ -s
33
34 testequal 'Reading package lists...
35 Building dependency tree...
36 The following NEW packages will be installed:
37 apt
38 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
39 Inst apt (0.8.8 localhost [all])
40 Conf apt (0.8.8 localhost [all])' aptget install apt -s
41
42 testequal 'Reading package lists...
43 Building dependency tree...
44 The following NEW packages will be installed:
45 apt+
46 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
47 Inst apt+ (0.8.8 localhost [all])
48 Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s
49
50 testequal 'Reading package lists...
51 Building dependency tree...
52 The following NEW packages will be installed:
53 apt+
54 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
55 Inst apt+ (0.8.8 localhost [all])
56 Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s
57
58 testequal 'Reading package lists...
59 Building dependency tree...
60 The following NEW packages will be installed:
61 apt+
62 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
63 Inst apt+ (0.8.8 localhost [all])
64 Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s