]> git.saurik.com Git - apt.git/blob - test/integration/test-ubuntu-bug-1130419-prefer-installed-ma-same-siblings
eipp: enable xz-compressed scenario logging
[apt.git] / test / integration / test-ubuntu-bug-1130419-prefer-installed-ma-same-siblings
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture 'amd64' 'i386'
8
9 insertpackage 'stable' 'libmesa' 'amd64,i386' '1' 'Multi-Arch: same'
10 insertpackage 'stable' 'libmesa-lts' 'amd64,i386' '1' 'Provides: libmesa
11 Conflicts: libmesa
12 Multi-Arch: same'
13 insertpackage 'stable' 'steam' 'i386' '1' 'Depends: libmesa'
14
15 insertpackage 'unstable' 'libmesa' 'amd64,i386' '2' 'Multi-Arch: same'
16 insertpackage 'unstable' 'libmesa-lts' 'amd64,i386' '2' 'Provides: libmesa
17 Conflicts: libmesa
18 Multi-Arch: same'
19 insertpackage 'unstable' 'steam' 'i386' '2' 'Depends: libmesa'
20
21 setupaptarchive
22
23 testsuccessequal 'Reading package lists...
24 Building dependency tree...
25 The following additional packages will be installed:
26 libmesa:i386
27 The following NEW packages will be installed:
28 libmesa:i386 steam:i386
29 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
30 Inst libmesa:i386 (1 stable [i386])
31 Inst steam:i386 (1 stable [i386])
32 Conf libmesa:i386 (1 stable [i386])
33 Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
34 testsuccessequal 'Reading package lists...
35 Building dependency tree...
36 The following additional packages will be installed:
37 libmesa:i386
38 The following NEW packages will be installed:
39 libmesa:i386 steam:i386
40 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
41 Inst libmesa:i386 (2 unstable [i386])
42 Inst steam:i386 (2 unstable [i386])
43 Conf libmesa:i386 (2 unstable [i386])
44 Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable
45
46 cp rootdir/var/lib/dpkg/status default-status.dpkg
47 insertinstalledpackage 'libmesa' 'amd64' '1' 'Multi-Arch: same'
48 testsuccessequal 'Reading package lists...
49 Building dependency tree...
50 The following additional packages will be installed:
51 libmesa:i386
52 The following NEW packages will be installed:
53 libmesa:i386 steam:i386
54 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
55 Inst libmesa:i386 (1 stable [i386])
56 Inst steam:i386 (1 stable [i386])
57 Conf libmesa:i386 (1 stable [i386])
58 Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
59 testsuccessequal 'Reading package lists...
60 Building dependency tree...
61 The following additional packages will be installed:
62 libmesa libmesa:i386
63 The following NEW packages will be installed:
64 libmesa:i386 steam:i386
65 The following packages will be upgraded:
66 libmesa
67 1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
68 Inst libmesa [1] (2 unstable [amd64])
69 Inst libmesa:i386 (2 unstable [i386])
70 Inst steam:i386 (2 unstable [i386])
71 Conf libmesa (2 unstable [amd64])
72 Conf libmesa:i386 (2 unstable [i386])
73 Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable
74
75 cp default-status.dpkg rootdir/var/lib/dpkg/status
76 insertinstalledpackage 'libmesa-lts' 'amd64' '1' 'Provides: libmesa
77 Conflicts: libmesa
78 Multi-Arch: same'
79 testsuccessequal 'Reading package lists...
80 Building dependency tree...
81 The following additional packages will be installed:
82 libmesa-lts:i386
83 The following NEW packages will be installed:
84 libmesa-lts:i386 steam:i386
85 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
86 Inst libmesa-lts:i386 (1 stable [i386])
87 Inst steam:i386 (1 stable [i386])
88 Conf libmesa-lts:i386 (1 stable [i386])
89 Conf steam:i386 (1 stable [i386])' aptget install steam -st stable
90 testsuccessequal 'Reading package lists...
91 Building dependency tree...
92 The following additional packages will be installed:
93 libmesa-lts libmesa-lts:i386
94 The following NEW packages will be installed:
95 libmesa-lts:i386 steam:i386
96 The following packages will be upgraded:
97 libmesa-lts
98 1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
99 Inst libmesa-lts [1] (2 unstable [amd64])
100 Inst libmesa-lts:i386 (2 unstable [i386])
101 Inst steam:i386 (2 unstable [i386])
102 Conf libmesa-lts (2 unstable [amd64])
103 Conf libmesa-lts:i386 (2 unstable [i386])
104 Conf steam:i386 (2 unstable [i386])' aptget install steam -st unstable