summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-605394-versioned-or-groups
blob: f938ba311d059df1f60600cb31f6522d144d1467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
setupenvironment
configarchitecture "i386"
setupaptarchive

testfailureequal "Reading package lists...
Building dependency tree...
Calculating upgrade...
The following packages will be upgraded:
  php5 php5-cgi
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5715 kB of archives.
After this operation, 0 B of additional disk space will be used.
E: Trivial Only specified but this is not a trivial operation." aptget dist-upgrade --trivial-only

msgtest "Solution process doesn't involve" 'apache2-mpm-prefork'

if aptget dist-upgrade --trivial-only -o Debug::pkgProblemResolver=1 -o Debug::pkgDepCache::Marker=1 2>&1 | grep apache2-mpm-prefork > /dev/null; then
	msgfail
else
	msgpass
fi