]> git.saurik.com Git - apt.git/blob - test/integration/test-bug-657695-resolver-breaks-on-virtuals
apt-inst: Do not try to create a substring of an empty string in error reporting
[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 testequal 'Reading package lists...
20 Building dependency tree...
21 The following packages will be REMOVED:
22 xserver-xorg-video-driver1 xserver-xorg-video-driver10
23 xserver-xorg-video-driver11 xserver-xorg-video-driver12
24 xserver-xorg-video-driver13 xserver-xorg-video-driver14
25 xserver-xorg-video-driver15 xserver-xorg-video-driver16
26 xserver-xorg-video-driver17 xserver-xorg-video-driver18
27 xserver-xorg-video-driver19 xserver-xorg-video-driver2
28 xserver-xorg-video-driver20 xserver-xorg-video-driver21
29 xserver-xorg-video-driver22 xserver-xorg-video-driver23
30 xserver-xorg-video-driver24 xserver-xorg-video-driver25
31 xserver-xorg-video-driver26 xserver-xorg-video-driver27
32 xserver-xorg-video-driver28 xserver-xorg-video-driver29
33 xserver-xorg-video-driver3 xserver-xorg-video-driver30
34 xserver-xorg-video-driver31 xserver-xorg-video-driver32
35 xserver-xorg-video-driver33 xserver-xorg-video-driver34
36 xserver-xorg-video-driver35 xserver-xorg-video-driver36
37 xserver-xorg-video-driver37 xserver-xorg-video-driver38
38 xserver-xorg-video-driver39 xserver-xorg-video-driver4
39 xserver-xorg-video-driver40 xserver-xorg-video-driver41
40 xserver-xorg-video-driver42 xserver-xorg-video-driver43
41 xserver-xorg-video-driver44 xserver-xorg-video-driver45
42 xserver-xorg-video-driver46 xserver-xorg-video-driver47
43 xserver-xorg-video-driver48 xserver-xorg-video-driver49
44 xserver-xorg-video-driver5 xserver-xorg-video-driver50
45 xserver-xorg-video-driver6 xserver-xorg-video-driver7
46 xserver-xorg-video-driver8 xserver-xorg-video-driver9
47 The following packages will be upgraded:
48 xserver-xorg-core
49 1 upgraded, 0 newly installed, 50 to remove and 0 not upgraded.
50 After this operation, 2150 kB disk space will be freed.
51 E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only