]> git.saurik.com Git - apt.git/blob - test/integration/test-prefer-native-architecture-over-higher-priority
do fail on weakhash/loop earlier in acquire
[apt.git] / test / integration / test-prefer-native-architecture-over-higher-priority
1 #!/bin/sh
2 set -e
3
4 TESTDIR="$(readlink -f "$(dirname "$0")")"
5 . "$TESTDIR/framework"
6 setupenvironment
7 configarchitecture 'amd64' 'arm64'
8
9 insertpackage 'unstable' 'm4' 'amd64' '1' 'Multi-Arch: foreign' 'optional'
10 insertpackage 'unstable' 'm4' 'arm64' '1' 'Multi-Arch: foreign' 'standard'
11 insertpackage 'unstable' 'autoconf' 'all' '1' 'Depends: m4'
12
13 setupaptarchive
14
15 testsuccessequal 'Reading package lists...
16 Building dependency tree...
17 The following additional packages will be installed:
18 m4
19 The following NEW packages will be installed:
20 autoconf m4
21 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
22 Inst m4 (1 unstable [amd64])
23 Inst autoconf (1 unstable [all])
24 Conf m4 (1 unstable [amd64])
25 Conf autoconf (1 unstable [all])' aptget install autoconf -s