4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
7 configarchitecture "i386
"
9 insertinstalledpackage 'foo' 'i386' '1.0'
10 insertpackage 'unstable' 'foo' 'i386' '2.0' 'Recommends: bar'
14 UPGRADE_KEEP="Reading package lists...
15 Building dependency tree...
16 Calculating upgrade...
17 The following packages have been kept back
:
19 0 upgraded
, 0 newly installed
, 0 to remove and
1 not upgraded.
"
20 testsuccessequal "$UPGRADE_KEEP" aptget upgrade -s