]> git.saurik.com Git - apt.git/blame - test/integration/test-prefer-native-architecture-over-higher-priority
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-prefer-native-architecture-over-higher-priority
CommitLineData
096bd9f5
CW
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
096bd9f5
CW
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
25b86db1 15testsuccessequal 'Reading package lists...
096bd9f5 16Building dependency tree...
e7ebb414 17The following additional packages will be installed:
096bd9f5
CW
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