#!/bin/sh
set -e
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
setupenvironment
configarchitecture 'native'
testsuccessequal 'Reading package lists...
Building dependency tree...
-The following extra packages will be installed:
+The following additional packages will be installed:
foo
The following NEW packages will be installed:
awesome foo
Building dependency tree...
Package 'bar' is not installed, so not removed
Package 'baz' is not installed, so not removed
-The following extra packages will be installed:
+The following additional packages will be installed:
foo
The following NEW packages will be installed:
awesome foo
testsuccessequal "Reading package lists...
Building dependency tree...
Package 'foo' is not installed, so not removed
-The following extra packages will be installed:
+The following additional packages will be installed:
bar
The following NEW packages will be installed:
awesome bar
Building dependency tree...
Package 'foo' is not installed, so not removed
Package 'baz' is not installed, so not removed
-The following extra packages will be installed:
+The following additional packages will be installed:
bar
The following NEW packages will be installed:
awesome bar
Building dependency tree...
Package 'foo' is not installed, so not removed
Package 'bar' is not installed, so not removed
-The following extra packages will be installed:
+The following additional packages will be installed:
baz
The following NEW packages will be installed:
awesome baz