]> git.saurik.com Git - apt.git/blame - test/integration/test-cachecontainer-architecture-specification
* apt-pkg/cachefilter.cc:
[apt.git] / test / integration / test-cachecontainer-architecture-specification
CommitLineData
01f520ce
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'amd64' 'armel'
8
9#insertinstalledpackage 'xserver-xorg-core' 'amd64' '2:1.7.6-2ubuntu7.10'
10insertpackage 'unstable' 'libsame' 'armel,amd64' '1' 'Multi-Arch: same'
11
12setupaptarchive
13
14testequal 'Reading package lists...
15Building dependency tree...
16The following NEW packages will be installed:
17 libsame
180 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
19Inst libsame (1 unstable [amd64])
20Conf libsame (1 unstable [amd64])' aptget -s install libsame
21testequal 'Reading package lists...
22Building dependency tree...
23The following NEW packages will be installed:
24 libsame:armel
250 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
26Inst libsame:armel (1 unstable [armel])
27Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel
28testequal 'Reading package lists...
29Building dependency tree...
5f20ac7f
DK
30E: Unable to locate package libsame' aptget -s install libsame:armhf
31testequal 'Reading package lists...
32Building dependency tree...
01f520ce
DK
33The following NEW packages will be installed:
34 libsame
350 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
36Inst libsame (1 unstable [amd64])
37Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
38testequal 'Reading package lists...
39Building dependency tree...
40The following NEW packages will be installed:
41 libsame libsame:armel
420 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
43Inst libsame (1 unstable [amd64])
44Inst libsame:armel (1 unstable [armel])
45Conf libsame (1 unstable [amd64])
46Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
47testequal 'Reading package lists...
48Building dependency tree...
49The following NEW packages will be installed:
50 libsame libsame:armel
510 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
52Inst libsame (1 unstable [amd64])
53Inst libsame:armel (1 unstable [armel])
54Conf libsame (1 unstable [amd64])
55Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
56testequal 'Reading package lists...
57Building dependency tree...
58The following NEW packages will be installed:
59 libsame
600 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
61Inst libsame (1 unstable [amd64])
62Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
63testequal 'Reading package lists...
64Building dependency tree...
65The following NEW packages will be installed:
66 libsame libsame:armel
670 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
68Inst libsame (1 unstable [amd64])
69Inst libsame:armel (1 unstable [armel])
70Conf libsame (1 unstable [amd64])
71Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
72testequal 'Reading package lists...
73Building dependency tree...
74The following NEW packages will be installed:
75 libsame
760 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
77Inst libsame (1 unstable [amd64])
78Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
79testequal 'Reading package lists...
80Building dependency tree...
81The following NEW packages will be installed:
82 libsame libsame:armel
830 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
84Inst libsame (1 unstable [amd64])
85Inst libsame:armel (1 unstable [armel])
86Conf libsame (1 unstable [amd64])
87Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
88testequal 'Reading package lists...
89Building dependency tree...
90E: Unable to locate package libsame' aptget -s install libsame:windows-any