]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-657695-resolver-breaks-on-virtuals
apt-key: change to / before find to satisfy its CWD needs
[apt.git] / test / integration / test-bug-657695-resolver-breaks-on-virtuals
index e9b27cfcd04a0497f104d5d775ff02d880e95314..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,8 +16,9 @@ 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:
   xserver-xorg-video-driver1 xserver-xorg-video-driver10
   xserver-xorg-video-driver11 xserver-xorg-video-driver12