summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
Commit message (Collapse)AuthorAgeFilesLines
* tests: allow to disable generation of InRelease/Release.gpg fileDavid Kalnischkies2016-05-041-4/+2
| | | | | | | If the test just signs release files to throw away one of them to test the other, we can just as well save the time and not create it. Git-Dch: Ignore
* Report non-transient errors as errors, not as warningsJulian Andres Klode2016-03-161-1/+1
| | | | | This makes it easier to understand what really is an error and what not.
* tests: support spaces in path and TMPDIRDavid Kalnischkies2015-12-191-2/+2
| | | | | | | This doesn't allow all tests to run cleanly, but it at least allows to write tests which could run successfully in such environments. Git-Dch: Ignore
* enhance "hit paywall" error message to mention the probable causeDavid Kalnischkies2015-08-101-2/+3
| | | | | | | | | Reporting errors from Done() is bad for progress reporting and such, so factoring this out is a good idea and we start with moving the supposed- to-be clearsigned file isn't clearsigned out first – improving the error message in the process as we use the same message for a similar case (NODATA) as this is what I have to look at with the venue wifi at DebCamp and the old errormessage doesn't really say anything.
* test exitcode as well as string equalityDavid Kalnischkies2015-03-161-1/+1
| | | | | | | | We use test{success,failure} now all over the place in the framework, so its only consequencial to do this in the situations in which we test for a specific output as well. Git-Dch: Ignore
* all tests passMichael Vogt2014-08-241-3/+1
|
* tests: default to 'sid' codename for 'unstable'David Kalnischkies2014-01-151-1/+1
| | | | Git-Dch: Ignore
* add chronic-like testsuccess/testfailure helpersDavid Kalnischkies2013-08-121-1/+1
| | | | | | | | | | For many commands the output isn't stable (like then dpkg is called) but the exitcode is, so this helper enhances the common && msgpass || msgfail by generating automatically a msgtest and showing the output of the command in case of failure instead of discarding it unconditionally, the later being chronic-like behaviour Git-Dch: Ignore
* - if ExecGPGV deals with a clear-signed file it will split this fileDavid Kalnischkies2013-03-151-3/+11
| | | | | | | | into data and signatures, pass it to gpgv for verification and recombines it after that in a known-good way without unsigned blocks and whitespaces resulting usually in more or less the same file as before, but later code can be sure about the format * apt-pkg/deb/debmetaindex.cc: - reenable InRelease by default
* * apt-pkg/indexcopy.cc:David Kalnischkies2011-06-061-0/+31
- Verify that the first line of an InRelease file is a PGP header for a signed message. Otherwise a man-in-the-middle can prefix a valid InRelease file with his own data! (CVE-2011-1829)