]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
configureable acquire targets to download additional files
[apt.git] / test / integration / test-ubuntu-bug-784473-InRelease-one-message-only
index fad5488fb62d0d9d0efd1389d0eb9e842b7a5090..754487a90cbf348d6d44e7aa24b6af778b4411ac 100755 (executable)
@@ -28,12 +28,10 @@ MD5Sum:
 done
 
 msgtest 'The unsigned garbage before signed block is' 'ignored'
-aptget update -qq > /dev/null 2>&1 && msgpass || msgfail
+aptget update -qq 2>&1 | grep -q 'W:.*Does not start with a cleartext signature' && msgpass || msgfail
 
 ROOTDIR="$(readlink -f .)"
-testequal "Package files:
+testsuccessequal "Package files:
  100 ${ROOTDIR}/rootdir/var/lib/dpkg/status
      release a=now
- 500 file:${ROOTDIR}/aptarchive/ unstable/main i386 Packages
-     release a=unstable,n=unstable,c=main
 Pinned packages:" aptcache policy