]> 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 8134b76aaac84a6d7f2a286c35e970480c0a96b4..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"
 
@@ -13,8 +13,9 @@ setupaptarchive
 
 UPGRADE_KEEP="Reading package lists...
 Building dependency tree...
+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