]>
Commit | Line | Data |
---|---|---|
5f4495e3 DK |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
90b56f54 | 7 | configarchitecture 'native' |
5f4495e3 DK |
8 | |
9 | aptconfig dump --no-empty --format '%v%n' APT::Move-Autobit-Sections > move-autobit.sections | |
10 | testsuccess grep '^oldlibs$' move-autobit.sections | |
11 | ||
90b56f54 DK |
12 | buildsimplenativepackage 'libabc' 'native' '1' 'stable' '' '' 'libs' |
13 | buildsimplenativepackage 'libabc' 'native' '2' 'unstable' 'Depends: libdef' '' 'oldlibs' | |
14 | buildsimplenativepackage 'libdef' 'native' '1' 'unstable' '' '' 'libs' | |
5f4495e3 DK |
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' |