]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-move-and-forget-manual-sections
Czech program translation update
[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
7configarchitecture 'amd64'
8
9aptconfig dump --no-empty --format '%v%n' APT::Move-Autobit-Sections > move-autobit.sections
10testsuccess grep '^oldlibs$' move-autobit.sections
11
12buildsimplenativepackage 'libabc' 'amd64' '1' 'stable' '' '' 'libs'
13buildsimplenativepackage 'libabc' 'amd64' '2' 'unstable' 'Depends: libdef' '' 'oldlibs'
14buildsimplenativepackage 'libdef' 'amd64' '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'