]>
Commit | Line | Data |
---|---|---|
edbda33b DK |
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 | # the new xserver-xorg-core breaks xserver-xorg-video-6 | |
11 | # which both -intel (installed) and -vesa (not installed) | |
12 | # provided in their old version. | |
13 | # The test ensures that only -intel will be upgraded | |
14 | # (together with -core of course) and -vesa not touched. | |
15 | ||
16 | testequal 'Reading package lists... | |
17 | Building dependency tree... | |
18 | The following extra packages will be installed: | |
19 | xserver-xorg-video-intel | |
20 | The following packages will be upgraded: | |
21 | xserver-xorg-core xserver-xorg-video-intel | |
22 | 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
23 | Need to get 0 B/2992 kB of archives. | |
24 | After this operation, 24.6 kB of additional disk space will be used. | |
25 | E: Trivial Only specified but this is not a trivial operation.' aptget install xserver-xorg-core --trivial-only | |
26 | ||
27 | testequal 'Reading package lists... | |
28 | Building dependency tree... | |
2a884c61 | 29 | Calculating upgrade... |
edbda33b DK |
30 | The following packages will be upgraded: |
31 | xserver-xorg-core xserver-xorg-video-intel | |
32 | 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
33 | Need to get 0 B/2992 kB of archives. | |
34 | After this operation, 24.6 kB of additional disk space will be used. | |
35 | E: Trivial Only specified but this is not a trivial operation.' aptget upgrade --trivial-only | |
36 | ||
37 | testequal 'Reading package lists... | |
38 | Building dependency tree... | |
2a884c61 | 39 | Calculating upgrade... |
edbda33b DK |
40 | The following packages will be upgraded: |
41 | xserver-xorg-core xserver-xorg-video-intel | |
42 | 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
43 | Need to get 0 B/2992 kB of archives. | |
44 | After this operation, 24.6 kB of additional disk space will be used. | |
45 | E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only |