]>
git.saurik.com Git - apt.git/blob - test/integration/test-architecture-specification-parsing
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64' 'armel'
9 buildsimplenativepackage
'pkg-arch-foo' 'amd64' '1.0' 'stable' 'Build-Depends: foo [amd64 !amd64]
10 Depends: foo [amd64 !amd64]'
11 buildsimplenativepackage
'pkg-arch-no-foo' 'amd64' '1.0' 'stable' 'Build-Depends: foo [!amd64 amd64]
12 Depends: foo [!amd64 amd64]'
13 buildsimplenativepackage
'pkg-arch-foo-unrelated-no' 'amd64' '1.0' 'stable' 'Build-Depends: foo [!kfreebsd-any amd64]
14 Depends: foo [!kfreebsd-any amd64]'
15 buildsimplenativepackage
'pkg-arch-foo-unrelated-no2' 'amd64' '1.0' 'stable' 'Build-Depends: foo [amd64 !kfreebsd-any]
16 Depends: foo [amd64 !kfreebsd-any]'
17 buildsimplenativepackage
'no-depends' 'armel' '1.0' 'stable' 'Build-Depends: foo [armhf], bar [arm]
18 Depends: foo [armhf], bar [arm]'
20 buildsimplenativepackage
'foo' 'amd64' '1.0' 'stable'
22 insertinstalledpackage
'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
26 testequal
'Reading package lists...
27 Building dependency tree...
28 The following extra packages will be installed:
30 The following NEW packages will be installed:
32 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
33 Inst foo (1.0 stable [amd64])
34 Inst pkg-arch-foo (1.0 stable [amd64])
35 Conf foo (1.0 stable [amd64])
36 Conf pkg-arch-foo (1.0 stable [amd64])' aptget
install pkg
-arch-foo -s
38 testequal
'Reading package lists...
39 Building dependency tree...
40 The following NEW packages will be installed:
42 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
43 Inst pkg-arch-no-foo (1.0 stable [amd64])
44 Conf pkg-arch-no-foo (1.0 stable [amd64])' aptget
install pkg
-arch-no-foo -s
46 testequal
'Reading package lists...
47 Building dependency tree...
48 The following extra packages will be installed:
50 The following NEW packages will be installed:
51 foo pkg-arch-foo-unrelated-no
52 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
53 Inst foo (1.0 stable [amd64])
54 Inst pkg-arch-foo-unrelated-no (1.0 stable [amd64])
55 Conf foo (1.0 stable [amd64])
56 Conf pkg-arch-foo-unrelated-no (1.0 stable [amd64])' aptget
install pkg
-arch-foo-unrelated-no -s
58 testequal
'Reading package lists...
59 Building dependency tree...
60 The following extra packages will be installed:
62 The following NEW packages will be installed:
63 foo pkg-arch-foo-unrelated-no2
64 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
65 Inst foo (1.0 stable [amd64])
66 Inst pkg-arch-foo-unrelated-no2 (1.0 stable [amd64])
67 Conf foo (1.0 stable [amd64])
68 Conf pkg-arch-foo-unrelated-no2 (1.0 stable [amd64])' aptget
install pkg
-arch-foo-unrelated-no2 -s
70 testequal
'Reading package lists...
71 Building dependency tree...
72 The following NEW packages will be installed:
74 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
75 Inst foo (1.0 stable [amd64])
76 Conf foo (1.0 stable [amd64])' aptget build
-dep pkg
-arch-foo -s
78 testequal
'Reading package lists...
79 Building dependency tree...
80 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget build
-dep pkg
-arch-no-foo -s
82 testequal
'Reading package lists...
83 Building dependency tree...
84 The following NEW packages will be installed:
86 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
87 Inst foo (1.0 stable [amd64])
88 Conf foo (1.0 stable [amd64])' aptget build
-dep pkg
-arch-foo-unrelated-no -s
90 testequal
'Reading package lists...
91 Building dependency tree...
92 The following NEW packages will be installed:
94 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
95 Inst foo (1.0 stable [amd64])
96 Conf foo (1.0 stable [amd64])' aptget build
-dep pkg
-arch-foo-unrelated-no2 -s
98 testequal
'Reading package lists...
99 Building dependency tree...
100 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget build
-dep no
-depends -s
102 # this is not really testing APT - more that dpkg is in line with us
103 testequal
'Reading package lists...
104 Building dependency tree...
105 The following NEW packages will be installed:
107 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
108 Inst no-depends:armel (1.0 stable [armel])
109 Conf no-depends:armel (1.0 stable [armel])' aptget
install no
-depends -s