]>
git.saurik.com Git - apt.git/blob - test/integration/test-architecture-specification-parsing
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'amd64'
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]'
18 buildsimplenativepackage
'foo' 'amd64' '1.0' 'stable'
20 insertinstalledpackage
'build-essential' 'all' '11.5' 'Multi-Arch: foreign'
24 testequal
'Reading package lists...
25 Building dependency tree...
26 The following extra packages will be installed:
28 The following NEW packages will be installed:
30 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
31 Inst foo (1.0 stable [amd64])
32 Inst pkg-arch-foo (1.0 stable [amd64])
33 Conf foo (1.0 stable [amd64])
34 Conf pkg-arch-foo (1.0 stable [amd64])' aptget
install pkg
-arch-foo -s
36 testequal
'Reading package lists...
37 Building dependency tree...
38 The following NEW packages will be installed:
40 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
41 Inst pkg-arch-no-foo (1.0 stable [amd64])
42 Conf pkg-arch-no-foo (1.0 stable [amd64])' aptget
install pkg
-arch-no-foo -s
44 testequal
'Reading package lists...
45 Building dependency tree...
46 The following extra packages will be installed:
48 The following NEW packages will be installed:
49 foo pkg-arch-foo-unrelated-no
50 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
51 Inst foo (1.0 stable [amd64])
52 Inst pkg-arch-foo-unrelated-no (1.0 stable [amd64])
53 Conf foo (1.0 stable [amd64])
54 Conf pkg-arch-foo-unrelated-no (1.0 stable [amd64])' aptget
install pkg
-arch-foo-unrelated-no -s
56 testequal
'Reading package lists...
57 Building dependency tree...
58 The following extra packages will be installed:
60 The following NEW packages will be installed:
61 foo pkg-arch-foo-unrelated-no2
62 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
63 Inst foo (1.0 stable [amd64])
64 Inst pkg-arch-foo-unrelated-no2 (1.0 stable [amd64])
65 Conf foo (1.0 stable [amd64])
66 Conf pkg-arch-foo-unrelated-no2 (1.0 stable [amd64])' aptget
install pkg
-arch-foo-unrelated-no2 -s
68 testequal
'Reading package lists...
69 Building dependency tree...
70 The following NEW packages will be installed:
72 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
73 Inst foo (1.0 stable [amd64])
74 Conf foo (1.0 stable [amd64])' aptget build
-dep pkg
-arch-foo -s
76 testequal
'Reading package lists...
77 Building dependency tree...
78 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.' aptget build
-dep pkg
-arch-no-foo -s
80 testequal
'Reading package lists...
81 Building dependency tree...
82 The following NEW packages will be installed:
84 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
85 Inst foo (1.0 stable [amd64])
86 Conf foo (1.0 stable [amd64])' aptget build
-dep pkg
-arch-foo-unrelated-no -s
88 testequal
'Reading package lists...
89 Building dependency tree...
90 The following NEW packages will be installed:
92 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
93 Inst foo (1.0 stable [amd64])
94 Conf foo (1.0 stable [amd64])' aptget build
-dep pkg
-arch-foo-unrelated-no2 -s