]> git.saurik.com Git - apt.git/blame - test/integration/test-xorg-break-providers
Make directory paths configurable
[apt.git] / test / integration / test-xorg-break-providers
CommitLineData
edbda33b
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
edbda33b
DK
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
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
25b86db1 16testfailureequal 'Reading package lists...
edbda33b 17Building dependency tree...
e7ebb414 18The following additional packages will be installed:
edbda33b
DK
19 xserver-xorg-video-intel
20The following packages will be upgraded:
21 xserver-xorg-core xserver-xorg-video-intel
222 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
23Need to get 0 B/2992 kB of archives.
24After this operation, 24.6 kB of additional disk space will be used.
25E: Trivial Only specified but this is not a trivial operation.' aptget install xserver-xorg-core --trivial-only
26
25b86db1 27testfailureequal 'Reading package lists...
edbda33b 28Building dependency tree...
2a884c61 29Calculating upgrade...
edbda33b
DK
30The following packages will be upgraded:
31 xserver-xorg-core xserver-xorg-video-intel
322 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
33Need to get 0 B/2992 kB of archives.
34After this operation, 24.6 kB of additional disk space will be used.
35E: Trivial Only specified but this is not a trivial operation.' aptget upgrade --trivial-only
36
25b86db1 37testfailureequal 'Reading package lists...
edbda33b 38Building dependency tree...
2a884c61 39Calculating upgrade...
edbda33b
DK
40The following packages will be upgraded:
41 xserver-xorg-core xserver-xorg-video-intel
422 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
43Need to get 0 B/2992 kB of archives.
44After this operation, 24.6 kB of additional disk space will be used.
45E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only