#!/bin/sh
set -e
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
setupenvironment
configarchitecture 'native'
setupaptarchive
testmarkedauto
-testmarkedmanual
+testmarkedmanual 'dpkg'
testsuccess aptget install libabc/stable -y
testdpkginstalled 'libabc'
testdpkgnotinstalled 'libdef'
-testmarkedmanual 'libabc'
+testmarkedmanual 'dpkg' 'libabc'
testmarkedauto
testsuccess aptget dist-upgrade -y
testdpkginstalled 'libabc' 'libdef'
testmarkedauto 'libabc'
-testmarkedmanual 'libdef'
+testmarkedmanual 'dpkg' 'libdef'