]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-657695-resolver-breaks-on-virtuals
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-bug-657695-resolver-breaks-on-virtuals
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture 'amd64'
8
9 insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
10 for i in $(seq 1 50); do
11 insertinstalledpackage "xserver-xorg-video-driver$i" 'amd64' '1.0' 'Provides: xserver-xorg-video-6'
12 done
13
14 insertpackage 'unstable' 'xserver-xorg-core' 'amd64' '2:1.11.3-0ubuntu9' 'Breaks: xserver-xorg-video-6'
15
16
17 setupaptarchive
18
19 testfailureequal 'Reading package lists...
20 Building dependency tree...
21 Calculating upgrade...
22 The following packages will be REMOVED:
23 xserver-xorg-video-driver1 xserver-xorg-video-driver10
24 xserver-xorg-video-driver11 xserver-xorg-video-driver12
25 xserver-xorg-video-driver13 xserver-xorg-video-driver14
26 xserver-xorg-video-driver15 xserver-xorg-video-driver16
27 xserver-xorg-video-driver17 xserver-xorg-video-driver18
28 xserver-xorg-video-driver19 xserver-xorg-video-driver2
29 xserver-xorg-video-driver20 xserver-xorg-video-driver21
30 xserver-xorg-video-driver22 xserver-xorg-video-driver23
31 xserver-xorg-video-driver24 xserver-xorg-video-driver25
32 xserver-xorg-video-driver26 xserver-xorg-video-driver27
33 xserver-xorg-video-driver28 xserver-xorg-video-driver29
34 xserver-xorg-video-driver3 xserver-xorg-video-driver30
35 xserver-xorg-video-driver31 xserver-xorg-video-driver32
36 xserver-xorg-video-driver33 xserver-xorg-video-driver34
37 xserver-xorg-video-driver35 xserver-xorg-video-driver36
38 xserver-xorg-video-driver37 xserver-xorg-video-driver38
39 xserver-xorg-video-driver39 xserver-xorg-video-driver4
40 xserver-xorg-video-driver40 xserver-xorg-video-driver41
41 xserver-xorg-video-driver42 xserver-xorg-video-driver43
42 xserver-xorg-video-driver44 xserver-xorg-video-driver45
43 xserver-xorg-video-driver46 xserver-xorg-video-driver47
44 xserver-xorg-video-driver48 xserver-xorg-video-driver49
45 xserver-xorg-video-driver5 xserver-xorg-video-driver50
46 xserver-xorg-video-driver6 xserver-xorg-video-driver7
47 xserver-xorg-video-driver8 xserver-xorg-video-driver9
48 The following packages will be upgraded:
49 xserver-xorg-core
50 1 upgraded, 0 newly installed, 50 to remove and 0 not upgraded.
51 After this operation, 2150 kB disk space will be freed.
52 E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only