]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-507998-dist-upgrade-recommends
properly format multiline error messages
[apt.git] / test / integration / test-bug-507998-dist-upgrade-recommends
index 513421a94d353d80f20bbf23f9f324a7d12b8cfb..b546874ba05f9850d4013497f679702b63392a0a 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 'amd64'
 
@@ -14,8 +14,9 @@ insertpackage 'unstable' 'wireshark' 'amd64' '1.2.1-2' 'Depends: wireshark-commo
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
+Calculating upgrade...
 The following packages will be upgraded:
   tshark wireshark-common
 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.