~mvo/apt/no-apport-without-logs

« back to all changes in this revision

Viewing changes to test/integration/test-conflicts-real-multiarch-same

  • Committer: Michael Vogt
  • Date: 2012-11-01 09:44:13 UTC
  • mfrom: (1327.97.156 debian-sid)
  • Revision ID: michael.vogt@ubuntu.com-20121101094413-jna4b5xtrffsj5ja
merged from the debian-sid branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 'unstable' 'virtual-provider' 'amd64,i386' '2' 'Provides: virtual
 
10
Conflicts: virtual
 
11
Multi-Arch: same'
 
12
insertpackage 'unstable' 'real' 'amd64,i386' '2' 'Conflicts: real
 
13
Multi-Arch: same'
 
14
insertpackage 'unstable' 'real-provider' 'amd64,i386' '2' 'Provides: real-provider
 
15
Conflicts: real-provider
 
16
Multi-Arch: same'
 
17
setupaptarchive
 
18
 
 
19
testequal "Reading package lists...
 
20
Building dependency tree...
 
21
Note, selecting 'virtual-provider' instead of 'virtual'
 
22
Note, selecting 'virtual-provider:i386' instead of 'virtual:i386'
 
23
The following NEW packages will be installed:
 
24
  virtual-provider virtual-provider:i386
 
25
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 
26
Inst virtual-provider (2 unstable [amd64])
 
27
Inst virtual-provider:i386 (2 unstable [i386])
 
28
Conf virtual-provider (2 unstable [amd64])
 
29
Conf virtual-provider:i386 (2 unstable [i386])" aptget install virtual:* -s -q=0
 
30
 
 
31
testequal 'Reading package lists...
 
32
Building dependency tree...
 
33
The following NEW packages will be installed:
 
34
  real real:i386
 
35
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 
36
Inst real (2 unstable [amd64])
 
37
Inst real:i386 (2 unstable [i386])
 
38
Conf real (2 unstable [amd64])
 
39
Conf real:i386 (2 unstable [i386])' aptget install real:* -s -q=0
 
40
 
 
41
# ensure that we are not confused by the provides
 
42
testequal 'Reading package lists...
 
43
Building dependency tree...
 
44
The following NEW packages will be installed:
 
45
  real-provider real-provider:i386
 
46
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
 
47
Inst real-provider (2 unstable [amd64])
 
48
Inst real-provider:i386 (2 unstable [i386])
 
49
Conf real-provider (2 unstable [amd64])
 
50
Conf real-provider:i386 (2 unstable [i386])' aptget install real-provider:* -s -q=0