]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-593360-modifiers-in-names
ensure that we exit instead of proceed in execution after the trap
[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
18testequal 'Reading package lists...
19Building dependency tree...
20The following NEW packages will be installed:
21 g++
220 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
23Inst g++ (4:4.4.5-1 localhost [i386])
24Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g+++ -s
25
26testequal 'Reading package lists...
27Building dependency tree...
28The following NEW packages will be installed:
29 g++
300 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
31Inst g++ (4:4.4.5-1 localhost [i386])
32Conf g++ (4:4.4.5-1 localhost [i386])' aptget purge g+++ -s
33
34testequal 'Reading package lists...
35Building dependency tree...
36The following NEW packages will be installed:
37 apt
380 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
39Inst apt (0.8.8 localhost [all])
40Conf apt (0.8.8 localhost [all])' aptget install apt -s
898d27df
DK
41
42testequal 'Reading package lists...
43Building dependency tree...
44The following NEW packages will be installed:
45 apt+
460 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
47Inst apt+ (0.8.8 localhost [all])
48Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s
898d27df
DK
49
50testequal 'Reading package lists...
51Building dependency tree...
52The following NEW packages will be installed:
53 apt+
540 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
55Inst apt+ (0.8.8 localhost [all])
56Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s
898d27df
DK
57
58testequal 'Reading package lists...
59Building dependency tree...
60The following NEW packages will be installed:
61 apt+
620 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
ca238ede
DK
63Inst apt+ (0.8.8 localhost [all])
64Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s