]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-provides-gone-with-upgrade
tests: support spaces in path and TMPDIR
[apt.git] / test / integration / test-provides-gone-with-upgrade
index 3b4bc2d045d71c6395679832815b2fcf51e919b0..5249ea0c93f01b499ffacbd7973479e7bedf92a5 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 @@ Replaces: apt (<< 0.8.15)'
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
 Calculating upgrade...
 The following NEW packages will be installed: