summaryrefslogtreecommitdiff
path: root/test/integration/test-cachecontainer-architecture-specification
blob: 55e464a07017c5c5c48dc52ada20ca380203987d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
setupenvironment
configarchitecture 'amd64' 'armel'

#insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
insertpackage 'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same'

setupaptarchive

testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Conf libsame (1 unstable [amd64])' aptget -s install libsame
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame:armel
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libsame:armel (1 unstable [armel])
Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel
testequal 'Reading package lists...
Building dependency tree...
E: Unable to locate package libsame' aptget -s install libsame:armhf
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame libsame:armel
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Inst libsame:armel (1 unstable [armel])
Conf libsame (1 unstable [amd64])
Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame libsame:armel
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Inst libsame:armel (1 unstable [armel])
Conf libsame (1 unstable [amd64])
Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame libsame:armel
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Inst libsame:armel (1 unstable [armel])
Conf libsame (1 unstable [amd64])
Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
testequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libsame libsame:armel
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst libsame (1 unstable [amd64])
Inst libsame:armel (1 unstable [armel])
Conf libsame (1 unstable [amd64])
Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
testequal 'Reading package lists...
Building dependency tree...
E: Unable to locate package libsame' aptget -s install libsame:windows-any