]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-resolve-by-keep-new-recommends
doc: Fix fuzzy string regression
[apt.git] / test / integration / test-resolve-by-keep-new-recommends
index 6b177287718150516ad25a4c83d56628fbbbbe92..3591ed84d65c39c65cf4356c186f450a35a7bee1 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"
 
@@ -17,5 +17,5 @@ Calculating upgrade...
 The following packages have been kept back:
   foo
 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded."
-testequal "$UPGRADE_KEEP" aptget upgrade -s
+testsuccessequal "$UPGRADE_KEEP" aptget upgrade -s