]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-618848-always-respect-user-requests
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-bug-618848-always-respect-user-requests
index 1ebadf2800cc22c2bbc39833667e15b7c94cb5d5..7d2b35f9e992df8ae4c2c634d8371156d5f708c8 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 'i386'
 
@@ -13,7 +13,7 @@ insertpackage 'unstable' 'exim4-daemon-heavy' 'all' '1.0' 'Depends: libdb4.8'
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
   MarkDelete libdb4.8 [ i386 ] < 1.0 > ( other ) FU=1
   MarkDelete exim4-daemon-light [ i386 ] < 1.0 > ( other ) FU=0