summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-expected-size
Commit message (Collapse)AuthorAgeFilesLines
* 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
* testcases: do not allow warnings in testsuccessDavid Kalnischkies2014-10-201-1/+0
| | | | | | | | | | Adds a new testwarning which tests for zero exit and the presents of a warning in the output, failing if either is not the case or if an error is found, too. This allows us to change testsuccess to accept only totally successful executions (= without warnings) which should help finding regressions. Git-Dch: Ignore
* check for failure message in testsuccess/failureDavid Kalnischkies2014-10-201-4/+4
| | | | | | | | These functions check the exit code of the command, but for apt commands we can go further and require an error message for non-zero exits and none for zero exits. Git-Dch: Ignore
* check lists/ content in tests doing rollbackDavid Kalnischkies2014-10-201-2/+3
| | | | Git-Dch: Ignore
* fix compile and tests errorDavid Kalnischkies2014-10-131-1/+1
| | | | | | I am pretty sure I did that before committing broken stuff… Git-Dch: Ignore
* Send "Fail-Reason: MaximumSizeExceeded" from the methodMichael Vogt2014-10-071-1/+4
| | | | | Communicate the fail reason from the methods to the parent and Rename() failed files.
* Add new Acquire::MaxReleaseFileSize=10*1000*1000 optionMichael Vogt2014-10-071-3/+10
| | | | | | | | This option controls the maximum size of Release/Release.gpg/InRelease files. The rational is that we do not know the size of these files in advance and we want to protect against a denial of service attack where someone sends us endless amounts of data until the disk is full (we do know the size all other files (Packages/Sources/debs)).
* make expected-size a maximum-size check as this is what we want at this pointMichael Vogt2014-10-071-0/+7
|
* make http size check workMichael Vogt2014-10-061-0/+27