~ubuntu-branches/debian/experimental/apt/experimental

« back to all changes in this revision

Viewing changes to test/integration/test-cve-2013-1051-InRelease-parsing

  • Committer: Package Import Robot
  • Author(s): Michael Vogt, Michael Vogt, David Kalnischkies
  • Date: 2015-10-05 18:27:22 UTC
  • Revision ID: package-import@ubuntu.com-20151005182722-3ciwatm3yx1bnr4k
Tags: 1.1~exp13
[ Michael Vogt ]
* Use xgettext --no-location in make update-pot
* Fix select timeout to be 50msec instead of 0.5msec (Closes: #799857)

[ David Kalnischkies ]
* M-A: allowed pkgs of unconfigured archs do not statisfy :any
* implement dpkgs vision of interpreting pkg:<arch> dependencies
* add Source-Version field for EDSP
* fix insecure use of /tmp in EDSP solver 'dump' (Closes: 795600)
* select kernels to protect from autoremove based on Debian version
  (Closes: 787827)
* implement autobit and pinning in EDSP solver 'apt'
* do not discard new manual-bits while applying EDSP solutions
* include debug information in the autoremove-kernels file
* avoid using global PendingError to avoid failing too often too soon
* implement apt-get source msg 'Please use: $vcs' for git
* do not ignore differently versioned self-provides
* do not generate bogus hashes if hash is disabled in apt-ftparchive
* use APT::FTPArchive hash settings as default for APT::FPArchive::$filetype
* add --sha512 option + documentation for apt-ftparchive
* deal with spaces in path, command and filepaths in apt-key
* add by-hash sources.list option and document all of by-hash
* fallback to well-known URI if by-hash fails (Closes: 798919)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
setupaptarchive
13
13
 
14
14
changetowebserver
15
 
ARCHIVE='http://localhost:8080'
 
15
ARCHIVE="http://localhost:${APTHTTPPORT}"
16
16
msgtest 'Initial apt-get update should work with' 'InRelease'
17
17
testsuccess --nomsg aptget update
18
18
 
45
45
# part of the InRelease
46
46
listcurrentlistsdirectory | sed '/_InRelease/ d' > listsdir.lst
47
47
msgtest 'apt-get update should ignore unsigned data in the' 'InRelease'
48
 
testsuccessequal "Get:1 http://localhost:8080 stable InRelease [$(stat -c%s aptarchive/dists/stable/InRelease) B]
 
48
testsuccessequal "Get:1 http://localhost:${APTHTTPPORT} stable InRelease [$(stat -c%s aptarchive/dists/stable/InRelease) B]
49
49
Reading package lists..." --nomsg aptget update
50
50
testfileequal './listsdir.lst' "$(listcurrentlistsdirectory | sed '/_InRelease/ d')"
51
51