]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-apt-move-and-forget-manual-sections
tests: activate dpkg multi-arch even if test is single arch
[apt.git] / test / integration / test-apt-move-and-forget-manual-sections
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture 'native'
8
9aptconfig dump --no-empty --format '%v%n' APT::Move-Autobit-Sections > move-autobit.sections
10testsuccess grep '^oldlibs$' move-autobit.sections
11
12buildsimplenativepackage 'libabc' 'native' '1' 'stable' '' '' 'libs'
13buildsimplenativepackage 'libabc' 'native' '2' 'unstable' 'Depends: libdef' '' 'oldlibs'
14buildsimplenativepackage 'libdef' 'native' '1' 'unstable' '' '' 'libs'
15setupaptarchive
16
17testmarkedauto
18testmarkedmanual
19
20testsuccess aptget install libabc/stable -y
21testdpkginstalled 'libabc'
22testdpkgnotinstalled 'libdef'
23
24testmarkedmanual 'libabc'
25testmarkedauto
26
27testsuccess aptget dist-upgrade -y
28testdpkginstalled 'libabc' 'libdef'
29
30testmarkedauto 'libabc'
31testmarkedmanual 'libdef'