]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-security-no-remote-status
Don't download "optional" files not in Release :/.
[apt.git] / test / integration / test-security-no-remote-status
index b7cd0b0d197b843973892667d21a1d2abb83d028..7db979e0915a14bf6e6dce4a5e811ae28381643c 100755 (executable)
@@ -4,8 +4,8 @@
 #
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 setupenvironment
 configarchitecture 'amd64'
 
@@ -19,12 +19,12 @@ testequal "pretends-installed:
   Installed: (none)
   Candidate: 1
   Version table:
-     1 0
-        500 file:${TMPDIR}/aptarchive/ unstable/main amd64 Packages" aptcache policy pretends-installed
+     1 500
+        500 file:${TMPDIR}/aptarchive unstable/main all Packages" aptcache policy pretends-installed
 
 testequal "really-installed:
   Installed: 1
   Candidate: 1
   Version table:
- *** 1 0
+ *** 1 100
         100 ${TMPDIR}/rootdir/var/lib/dpkg/status" aptcache policy really-installed