]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-move-and-forget-manual-sections
add --sha512 option + documentation for apt-ftparchive
[apt.git] / test / integration / test-apt-move-and-forget-manual-sections
CommitLineData
5f4495e3
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
90b56f54 7configarchitecture 'native'
5f4495e3
DK
8
9aptconfig dump --no-empty --format '%v%n' APT::Move-Autobit-Sections > move-autobit.sections
10testsuccess grep '^oldlibs$' move-autobit.sections
11
90b56f54
DK
12buildsimplenativepackage 'libabc' 'native' '1' 'stable' '' '' 'libs'
13buildsimplenativepackage 'libabc' 'native' '2' 'unstable' 'Depends: libdef' '' 'oldlibs'
14buildsimplenativepackage 'libdef' 'native' '1' 'unstable' '' '' 'libs'
5f4495e3
DK
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'