]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-618848-always-respect-user-requests
improve tests
[apt.git] / test / integration / test-bug-618848-always-respect-user-requests
CommitLineData
cc26da01
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6setupenvironment
7configarchitecture 'i386'
8
9insertinstalledpackage 'libdb4.8' 'all' '1.0'
10insertinstalledpackage 'exim4' 'all' '1.0' 'Depends: exim4-daemon-light | exim4-daemon-heavy'
11insertinstalledpackage 'exim4-daemon-light' 'all' '1.0' 'Depends: libdb4.8'
12insertpackage 'unstable' 'exim4-daemon-heavy' 'all' '1.0' 'Depends: libdb4.8'
13
14setupaptarchive
15
16testequal 'Reading package lists...
17Building dependency tree...
18 MarkDelete libdb4.8 [ i386 ] < 1.0 > ( other ) FU=1
b29c4482 19 MarkDelete exim4-daemon-light [ i386 ] < 1.0 > ( other ) FU=0
cc26da01
DK
20 MarkInstall exim4-daemon-heavy [ i386 ] < none -> 1.0 > ( other ) FU=0
21 Ignore MarkInstall of libdb4.8 [ i386 ] < 1.0 > ( other ) as its mode (Delete) is protected
22 MarkDelete exim4-daemon-heavy [ i386 ] < none -> 1.0 > ( other ) FU=0
b29c4482 23 MarkDelete exim4 [ i386 ] < 1.0 > ( other ) FU=0
cc26da01
DK
24The following packages will be REMOVED:
25 exim4 exim4-daemon-light libdb4.8
26 MarkDelete exim4 [ i386 ] < 1.0 > ( other ) FU=1
270 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
28Remv exim4 [1.0]
29 MarkDelete exim4-daemon-light [ i386 ] < 1.0 > ( other ) FU=1
30Remv exim4-daemon-light [1.0]
31 MarkDelete libdb4.8 [ i386 ] < 1.0 > ( other ) FU=1
32Remv libdb4.8 [1.0]' aptget remove libdb4.8 -s -o Debug::pkgDepCache::Marker=1