]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-provides-gone-with-upgrade
protect only the latest same-source providers from autoremove
[apt.git] / test / integration / test-provides-gone-with-upgrade
index 70384ce297dbc7209a620751af33e268ee1fb586..5249ea0c93f01b499ffacbd7973479e7bedf92a5 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture "i386"
 
 setupenvironment
 configarchitecture "i386"
 
@@ -13,8 +13,9 @@ Replaces: apt (<< 0.8.15)'
 
 setupaptarchive
 
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
 Building dependency tree...
+Calculating upgrade...
 The following NEW packages will be installed:
   libapt-pkg4.10
 The following packages will be upgraded:
 The following NEW packages will be installed:
   libapt-pkg4.10
 The following packages will be upgraded: