]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-provides-gone-with-upgrade
test: Use :$(id -gn) instead of :root (when run as root)
[apt.git] / test / integration / test-provides-gone-with-upgrade
index 70384ce297dbc7209a620751af33e268ee1fb586..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,8 +13,9 @@ 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:
   libapt-pkg4.10
 The following packages will be upgraded: