]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-657695-resolver-breaks-on-virtuals
properly format multiline error messages
[apt.git] / test / integration / test-bug-657695-resolver-breaks-on-virtuals
index 1b92a04feea180009cc3844d49153b6f22e1f116..366113adeb9a9b312a281070a72a940db9a48c73 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'
 
@@ -16,7 +16,7 @@ insertpackage 'unstable' 'xserver-xorg-core' 'amd64' '2:1.11.3-0ubuntu9' 'Breaks
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testfailureequal 'Reading package lists...
 Building dependency tree...
 Calculating upgrade...
 The following packages will be REMOVED: