]> git.saurik.com Git - apt.git/blame - test/integration/test-cachecontainer-architecture-specification
hide Translation-* in 'apt-cache policy' output
[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'
f1d86c0e 11insertpackage 'unstable' 'foo' 'all' '1'
01f520ce
DK
12
13setupaptarchive
14
25b86db1 15testsuccessequal 'Reading package lists...
01f520ce
DK
16Building dependency tree...
17The following NEW packages will be installed:
18 libsame
190 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
20Inst libsame (1 unstable [amd64])
21Conf libsame (1 unstable [amd64])' aptget -s install libsame
25b86db1 22testsuccessequal 'Reading package lists...
01f520ce
DK
23Building dependency tree...
24The following NEW packages will be installed:
25 libsame:armel
260 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
27Inst libsame:armel (1 unstable [armel])
28Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel
25b86db1 29testfailureequal 'Reading package lists...
01f520ce 30Building dependency tree...
5f20ac7f 31E: Unable to locate package libsame' aptget -s install libsame:armhf
25b86db1 32testsuccessequal 'Reading package lists...
5f20ac7f 33Building dependency tree...
01f520ce
DK
34The following NEW packages will be installed:
35 libsame
360 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
37Inst libsame (1 unstable [amd64])
38Conf libsame (1 unstable [amd64])' aptget -s install libsame:amd64
25b86db1 39testsuccessequal 'Reading package lists...
01f520ce
DK
40Building dependency tree...
41The following NEW packages will be installed:
42 libsame libsame:armel
430 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
44Inst libsame (1 unstable [amd64])
45Inst libsame:armel (1 unstable [armel])
46Conf libsame (1 unstable [amd64])
47Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:armel libsame:amd64
25b86db1 48testsuccessequal 'Reading package lists...
01f520ce
DK
49Building dependency tree...
50The following NEW packages will be installed:
51 libsame libsame:armel
520 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
53Inst libsame (1 unstable [amd64])
54Inst libsame:armel (1 unstable [armel])
55Conf libsame (1 unstable [amd64])
56Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:*
25b86db1 57testsuccessequal 'Reading package lists...
01f520ce
DK
58Building dependency tree...
59The following NEW packages will be installed:
60 libsame
610 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
62Inst libsame (1 unstable [amd64])
63Conf libsame (1 unstable [amd64])' aptget -s install libsame:any
25b86db1 64testsuccessequal 'Reading package lists...
01f520ce
DK
65Building dependency tree...
66The following NEW packages will be installed:
67 libsame libsame:armel
680 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
69Inst libsame (1 unstable [amd64])
70Inst libsame:armel (1 unstable [armel])
71Conf libsame (1 unstable [amd64])
72Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:a*
25b86db1 73testsuccessequal 'Reading package lists...
01f520ce
DK
74Building dependency tree...
75The following NEW packages will be installed:
76 libsame
770 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
78Inst libsame (1 unstable [amd64])
79Conf libsame (1 unstable [amd64])' aptget -s install libsame:linux-any
25b86db1 80testsuccessequal 'Reading package lists...
01f520ce
DK
81Building dependency tree...
82The following NEW packages will be installed:
83 libsame libsame:armel
840 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
85Inst libsame (1 unstable [amd64])
86Inst libsame:armel (1 unstable [armel])
87Conf libsame (1 unstable [amd64])
88Conf libsame:armel (1 unstable [armel])' aptget -s install libsame:linux-*
25b86db1 89testfailureequal 'Reading package lists...
01f520ce
DK
90Building dependency tree...
91E: Unable to locate package libsame' aptget -s install libsame:windows-any
f1d86c0e 92
25b86db1 93testfailureequal 'Reading package lists...
f1d86c0e
DK
94Building dependency tree...
95E: Unable to locate package foo' aptget -s install foo:armel
25b86db1 96testsuccessequal 'Reading package lists...
f1d86c0e
DK
97Building dependency tree...
98The following NEW packages will be installed:
99 foo
1000 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
101Inst foo (1 unstable [all])
102Conf foo (1 unstable [all])' aptget -s install foo
25b86db1 103testsuccessequal 'Reading package lists...
f1d86c0e
DK
104Building dependency tree...
105The following NEW packages will be installed:
106 foo
1070 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
108Inst foo (1 unstable [all])
109Conf foo (1 unstable [all])' aptget -s install foo:all
25b86db1 110testsuccessequal 'Reading package lists...
f1d86c0e
DK
111Building dependency tree...
112The following NEW packages will be installed:
113 foo
1140 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
115Inst foo (1 unstable [all])
116Conf foo (1 unstable [all])' aptget -s install foo:amd64
25b86db1 117testsuccessequal 'Reading package lists...
f1d86c0e
DK
118Building dependency tree...
119The following NEW packages will be installed:
120 foo
1210 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
122Inst foo (1 unstable [all])
123Conf foo (1 unstable [all])' aptget -s install foo:native