summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-598669-install-postfix-gets-exim-heavy
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-10-02 09:19:31 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-10-02 09:19:31 +0200
commit0c6aa02ecfbb1b1ecac519527467befae36b7c40 (patch)
tree42ea9f6771d1caa751d4f8646a78c85946a83934 /test/integration/test-bug-598669-install-postfix-gets-exim-heavy
parent6774b53da5215ae1c3ebe6a3fff496d61cd779f7 (diff)
* apt-pkg/depcache.cc:
- do not remove packages which the user requested for installation explicitly while satisfying other install requests (Closes: #598669)
Diffstat (limited to 'test/integration/test-bug-598669-install-postfix-gets-exim-heavy')
-rwxr-xr-xtest/integration/test-bug-598669-install-postfix-gets-exim-heavy19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/integration/test-bug-598669-install-postfix-gets-exim-heavy b/test/integration/test-bug-598669-install-postfix-gets-exim-heavy
new file mode 100755
index 000000000..3fee63bbb
--- /dev/null
+++ b/test/integration/test-bug-598669-install-postfix-gets-exim-heavy
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+local TESTDIR=$(readlink -f $(dirname $0))
+. $TESTDIR/framework
+setupenvironment
+configarchitecture "i386"
+setupaptarchive
+
+testequal "Reading package lists...
+Building dependency tree...
+The following packages will be REMOVED:
+ exim4 exim4-daemon-light
+The following NEW packages will be installed:
+ postfix
+0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
+Need to get 0 B/1326 kB of archives.
+After this operation, 2236 kB of additional disk space will be used.
+E: Trivial Only specified but this is not a trivial operation." aptget install postfix --trivial-only