#!/bin/sh
set -e
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'
testsuccessequal "Listing...
bar/testing 2 all [upgradable from: 1]
+dpkg/now 1.16.2+fake all [installed,local]
foo/testing,now 1 all [installed]" apt list