#!/bin/sh
set -e
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'
Multi-Arch: same'
setupaptarchive
-testequal "Reading package lists...
+testsuccessequal "Reading package lists...
Building dependency tree...
Note, selecting 'virtual-provider' instead of 'virtual'
Note, selecting 'virtual-provider:i386' instead of 'virtual:i386'
Inst virtual-provider (2 unstable [amd64])
Inst virtual-provider:i386 (2 unstable [i386])
Conf virtual-provider (2 unstable [amd64])
-Conf virtual-provider:i386 (2 unstable [i386])" aptget install virtual:* -s -q=0
+Conf virtual-provider:i386 (2 unstable [i386])" aptget install virtual:* -s
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
real real:i386
Inst real (2 unstable [amd64])
Inst real:i386 (2 unstable [i386])
Conf real (2 unstable [amd64])
-Conf real:i386 (2 unstable [i386])' aptget install real:* -s -q=0
+Conf real:i386 (2 unstable [i386])' aptget install real:* -s
# ensure that we are not confused by the provides
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
real-provider real-provider:i386
Inst real-provider (2 unstable [amd64])
Inst real-provider:i386 (2 unstable [i386])
Conf real-provider (2 unstable [amd64])
-Conf real-provider:i386 (2 unstable [i386])' aptget install real-provider:* -s -q=0
+Conf real-provider:i386 (2 unstable [i386])' aptget install real-provider:* -s