]> git.saurik.com Git - apt.git/blame - test/integration/test-bug-605394-versioned-or-groups
make test_unauthenticated_to_invalid_inrelease work
[apt.git] / test / integration / test-bug-605394-versioned-or-groups
CommitLineData
c427b1e2
DK
1#!/bin/sh
2set -e
3
adee3bae 4TESTDIR=$(readlink -f $(dirname $0))
c427b1e2
DK
5. $TESTDIR/framework
6setupenvironment
7configarchitecture "i386"
8setupaptarchive
9
10testequal "Reading package lists...
11Building dependency tree...
12The following packages will be upgraded:
13 php5 php5-cgi
142 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
15Need to get 0 B/5715 kB of archives.
16After this operation, 0 B of additional disk space will be used.
17E: Trivial Only specified but this is not a trivial operation." aptget dist-upgrade --trivial-only
18
19msgtest "Solution process doesn't involve" 'apache2-mpm-prefork'
20
21if 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
23else
24 msgpass
25fi