summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-progress-fd-error
Commit message (Collapse)AuthorAgeFilesLines
* Don't expect duplicated dpkg status-fd messagesDavid Kalnischkies2018-09-111-2/+2
| | | | | | | | | | | The progress reporting relies on parsing the status reports of dpkg which used to repeat being in the same state multiple times in the same run, but by fixing #365921 it will stop doing so. The problem is in theory just with 'config-files' in case we do purge as this (can) do remove + purge in one step, but we remove this also for the unpack + configure combination althrough we handle these currently in two independent dpkg calls.
* use dpkg --unpack --recursive to avoid long cmdlinesDavid Kalnischkies2016-08-101-1/+1
| | | | | | | | | | Having long commandlines split into two is a huge problem if it happens and additionally if we want to introduce planners which perform less micromanagment its a good idea to leave the details for dpkg to decide. In practice this doesn't work yet unconditionally as a bug is hiding in the ordering code of dpkg, but it works if apt imposes its ordering so this commit allows for now at least to solve the first problem.
* use a configurable location for apport report storageDavid Kalnischkies2016-07-221-0/+4
| | | | | Hardcoding /var/crash means we can't test it properly and it isn't really our style.
* 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
* tests: use more 'native' instead of 'amd64' if possibleDavid Kalnischkies2015-09-141-12/+6
| | | | | | | | | | The tests usually run on amd64 boxes, but once in a while I run it on a (slow) armel box as well, which has its fair share of problems with some tests, but at least the low hanging fruits can be dealt with: Do not assume that amd64 is the native dpkg architecture – instead use whatever dpkg thinks is native as architecture for the test. Git-Dch: Ignore
* always run 'dpkg --configure -a' at the end of our dpkg callingsDavid Kalnischkies2014-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | dpkg checks now for dependencies before running triggers, so that packages can now end up in trigger states (especially those we are not touching at all with our calls) after apt is done running. The solution to this is trivial: Just tell dpkg to configure everything after we have (supposely) configured everything already. In the worst case this means dpkg will have to run a bunch of triggers, usually it will just do nothing though. The code to make this happen was already available, so we just flip a config option here to cause it to be run. This way we can keep pretending that triggers are an implementation detail of dpkg. --triggers-only would supposely work as well, but --configure is more robust in regards to future changes to dpkg and something we will hopefully make use of in future versions anyway (as it was planed at the time this and related options were implemented). Closes: 769609
* fix and non-silent fail dpkg-overwrite error testDavid Kalnischkies2014-09-071-1/+6
| | | | | | | | Commit cbcdd3ee9d86379d1b3a44e41ae8b17dc23111d0 removes the space at the end of the debfile name dpkg send to us and we previously had included in the pmerror message we printed on the statusfd. Git-Dch: Ignore
* reshuffle dpkgpm.cc code a bit moreMichael Vogt2013-10-181-1/+1
|
* tests, do not send pkgname with arch via the status-fdMichael Vogt2013-10-151-0/+22