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