]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -e | |
3 | ||
4 | TESTDIR=$(readlink -f $(dirname $0)) | |
5 | . $TESTDIR/framework | |
6 | setupenvironment | |
7 | configarchitecture "i386" | |
8 | setupaptarchive | |
9 | ||
10 | testequal "Reading package lists... | |
11 | Building dependency tree... | |
12 | The following packages will be upgraded: | |
13 | php5 php5-cgi | |
14 | 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
15 | Need to get 0 B/5715 kB of archives. | |
16 | After this operation, 0 B of additional disk space will be used. | |
17 | E: Trivial Only specified but this is not a trivial operation." aptget dist-upgrade --trivial-only | |
18 | ||
19 | msgtest "Solution process doesn't involve" 'apache2-mpm-prefork' | |
20 | ||
21 | if aptget dist-upgrade --trivial-only -o Debug::pkgProblemResolver=1 -o Debug::pkgDepCache::Marker=1 2>&1 | grep apache2-mpm-prefork > /dev/null; then | |
22 | msgfail | |
23 | else | |
24 | msgpass | |
25 | fi |