]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-719263-print-uris-removes-authentication
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-bug-719263-print-uris-removes-authentication
index 5e674db0b5a3e5721e40107d79266ae7b5405cbc..e79e6912d55acea19c668c2822f0c4c19779e756 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'
@@ -15,7 +15,7 @@ setupaptarchive
 testnoact() {
        cp -a rootdir/var/lib/dpkg/status rootdir/var/lib/dpkg/status-backup-noact
        touch rootdir/var/lib/apt/extended_states
-       testequal 'Reading package lists...
+       testsuccessequal 'Reading package lists...
 Building dependency tree...
 Reading state information...
 The following packages will be upgraded: