]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-ubuntu-bug-985852-pre-depends-or-group-ordering
test: Explicitly pass --admindir=var/lib/dpkg to dpkg
[apt.git] / test / integration / test-ubuntu-bug-985852-pre-depends-or-group-ordering
index 462acad00c025166309b6ca5c595a99e471b6c95..bd5be9eb0d5940653859e8694651fa92c7f96251 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'
 
@@ -12,8 +12,9 @@ insertpackage 'unstable' 'custom' 'amd64' '2.0' 'Pre-Depends: grub-pc | grub'
 
 setupaptarchive
 
-testequal 'Reading package lists...
+testsuccessequal 'Reading package lists...
 Building dependency tree...
+Calculating upgrade...
 The following packages will be upgraded:
   custom
 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.