You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

set -e
TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
configarchitecture "i386"
insertpackage 'unstable' 'libc6' 'all' '1.0'
insertpackage 'unstable' 'coolstuff' 'all' '1.0' 'Recommends: extracoolstuff'
insertpackage 'unstable' 'extracoolstuff' 'all' '1.0' 'Depends: libc6'
# We check the Markers here as the autoremove nuker will also
# prevent it, but to late - its better to fail earlier
testsuccessequal "Reading package lists...
Building dependency tree...
MarkInstall coolstuff [ i386 ] < none -> 1.0 > ( other ) FU=1
Ignore MarkInstall of extracoolstuff [ i386 ] < none -> 1.0 > ( other ) as its mode (Keep) is protected
Package 'extracoolstuff' is not installed, so not removed
Recommended packages:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst coolstuff (1.0 unstable [all])
Conf coolstuff (1.0 unstable [all])" aptget install coolstuff extracoolstuff- -o Debug::pkgDepCache::Marker=1 -s