]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-suggest-installed-multiarch-silbing
Don't download "optional" files not in Release :/.
[apt.git] / test / integration / test-suggest-installed-multiarch-silbing
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture 'amd64' 'i386' 'armel'
8
9insertinstalledpackage 'foo' 'i386' '1'
10insertpackage 'unstable' 'foo' 'amd64,i386' '1'
11
12insertpackage 'unstable,installed' 'foo2' 'i386' '1'
13
14insertinstalledpackage 'foo3' 'amd64' '1'
15insertpackage 'unstable' 'foo3' 'amd64,i386' '1'
16
17insertinstalledpackage 'samefoo' 'i386,amd64' '1' 'Multi-Arch: same'
18insertpackage 'unstable' 'samefoo' 'amd64,i386,armel' '1' 'Multi-Arch: same'
19
20insertinstalledpackage 'samefoo2' 'i386' '1' 'Multi-Arch: same'
21insertpackage 'unstable' 'samefoo2' 'amd64,i386,armel' '1' 'Multi-Arch: same'
22
23insertinstalledpackage 'mozplugger' 'i386' '1' 'Depends: iceweasel | fireweasel'
24insertinstalledpackage 'fireweasel' 'i386' '1'
25insertpackage 'unstable' 'mozplugger' 'i386,amd64' '1' 'Depends: iceweasel | fireweasel'
26
27setupaptarchive
28
29testsuccessequal "Reading package lists...
30Building dependency tree...
31Package 'foo' is not installed, so not removed. Did you mean 'foo:i386'?
320 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove foo -s
33
34testsuccessequal "Reading package lists...
35Building dependency tree...
36The following packages will be REMOVED:
37 foo2:i386
380 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
39Remv foo2:i386 [1]" aptget remove foo2 -s
40
41testsuccessequal "Reading package lists...
42Building dependency tree...
43The following packages will be REMOVED:
44 foo3
450 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
46Remv foo3 [1]" aptget remove foo3 -s
47
48testsuccessequal "Reading package lists...
49Building dependency tree...
50Package 'foo3:i386' is not installed, so not removed. Did you mean 'foo3'?
510 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove foo3:i386 -s
52
53testequalor2 "Reading package lists...
54Building dependency tree...
55Package 'samefoo:armel' is not installed, so not removed. Did you mean 'samefoo'?
560 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." "Reading package lists...
57Building dependency tree...
58Package 'samefoo:armel' is not installed, so not removed. Did you mean 'samefoo:i386'?
590 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove samefoo:armel -s
60
61testsuccessequal "Reading package lists...
62Building dependency tree...
63Package 'samefoo2' is not installed, so not removed. Did you mean 'samefoo2:i386'?
640 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove samefoo2 -s
65
66testsuccessequal "Reading package lists...
67Building dependency tree...
68Package 'samefoo2:armel' is not installed, so not removed. Did you mean 'samefoo2:i386'?
690 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove samefoo2:armel -s
70
71testsuccessequal "Reading package lists...
72Building dependency tree...
73Package 'iceweasel' is not installed, so not removed
740 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove iceweasel -s
75
76testsuccessequal "Reading package lists...
77Building dependency tree...
78Package 'fireweasel' is not installed, so not removed. Did you mean 'fireweasel:i386'?
790 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." aptget remove fireweasel:amd64 -s