#!/bin/sh
set -e
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'
testequal 'Reading package lists...
Building dependency tree...
The following packages will be REMOVED:
- libold libold:i386
+ libold:i386 libold
The following NEW packages will be installed:
breaker
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
-Remv libold [1]
Remv libold:i386 [1]
+Remv libold [1]
Inst breaker (1 unstable [all])
Conf breaker (1 unstable [all])' aptget install breaker -s
testequal 'Reading package lists...
Building dependency tree...
-E: Unable to locate package depender-x64' aptget install depender-x64:i386 -s
+E: Unable to locate package depender-x64:i386' aptget install depender-x64:i386 -s
testequal 'Reading package lists...
Building dependency tree...