]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-prefer-native-architecture-over-higher-priority
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-prefer-native-architecture-over-higher-priority
index 2e5696376aa24766b370d0f0247789e6ae434d2c..d21836b85ff4b7799893343282ab5ee6f5e25aaf 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'amd64' 'arm64'
 
@@ -12,9 +12,9 @@ insertpackage 'unstable' 'autoconf' 'all' '1' 'Depends: m4'
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
-The following extra packages will be installed:
+The following additional packages will be installed:
   m4
 The following NEW packages will be installed:
   autoconf m4