]> git.saurik.com Git - apt.git/blame_incremental - test/integration/test-resolve-by-keep-new-recommends
Do not consider SHA1 usable
[apt.git] / test / integration / test-resolve-by-keep-new-recommends
... / ...
CommitLineData
1#!/bin/sh
2set -e
3
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
6setupenvironment
7configarchitecture "i386"
8
9insertinstalledpackage 'foo' 'i386' '1.0'
10insertpackage 'unstable' 'foo' 'i386' '2.0' 'Recommends: bar'
11
12setupaptarchive
13
14UPGRADE_KEEP="Reading package lists...
15Building dependency tree...
16Calculating upgrade...
17The following packages have been kept back:
18 foo
190 upgraded, 0 newly installed, 0 to remove and 1 not upgraded."
20testsuccessequal "$UPGRADE_KEEP" aptget upgrade -s
21