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