]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
releasing package apt version 1.1~exp7
[apt.git] / test / integration / test-ubuntu-bug-784473-InRelease-one-message-only
index e9d6843097616763d0dfa8a902b31c636bf38648..09315868bd7a51833bac34ae0a14d5496706d3f9 100755 (executable)
@@ -28,12 +28,10 @@ MD5Sum:
 done
 
 msgtest 'The unsigned garbage before signed block is' 'ignored'
-testsuccess --nomsg aptget update
+aptget update -qq 2>&1 | grep -q 'W:.*Does not start with a cleartext signature' && msgpass || msgfail
 
 ROOTDIR="$(readlink -f .)"
 testequal "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