]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-605394-versioned-or-groups
randomize acquire order for same type index files
[apt.git] / test / integration / test-bug-605394-versioned-or-groups
index f938ba311d059df1f60600cb31f6522d144d1467..43f35f79b0276a38718fd9d929c3b8328e5516f3 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 "i386"
 setupaptarchive
@@ -24,3 +24,7 @@ if aptget dist-upgrade --trivial-only -o Debug::pkgProblemResolver=1 -o Debug::p
 else
        msgpass
 fi
+
+# the Packages file includes only MD5
+testfailure aptget dist-upgrade -y
+testsuccess grep 'Insufficient information available to perform this download securely' rootdir/tmp/testfailure.output