summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-761175-remove-purge
Commit message (Collapse)AuthorAgeFilesLines
* pass --force-remove-essential to dpkg only if neededDavid Kalnischkies2016-08-101-0/+4
| | | | | | APT (usually) knows which package is essential or not, so we can avoid passing this force flag to dpkg unconditionally if the user hasn't chosen a non-default essential handling obscuring the information.
* don't sent uninstallable rc-only versions via EDSPDavid Kalnischkies2016-05-101-23/+50
| | | | | | | | | | | Versions which are only available in dpkg/status aren't installable and apt doesn't pick them as candidate for this reason – for the same reason such packages shouldn't be sent to an external solver via EDSP. The packages are pinned to -1, but if the solver has strict pinning disabled it could end up picking this version anyhow – which is a request apt can not satisfy. Reported-By: Maximiliano Curia <maxy@debian.org> on IRC
* 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
* remove available file to have same dpkg -l behaviorDavid Kalnischkies2015-05-111-1/+2
| | | | | | | | dpkg -l < 1.16.2 loads the available file and hence sees a package which later versions do not see, leading to failures on travis-ci. The different versions also have slightly different messages. Git-Dch: Ignore
* test exitcode as well as string equalityDavid Kalnischkies2015-03-161-2/+2
| | | | | | | | 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
* correct architecture detection for 'rc' packages for purgeDavid Kalnischkies2014-12-071-21/+41
| | | | | | | | | We were already considering these cases, but the code was flawed, so that packages changing architectures are incorrectly handled and hence the wrong architecture is used to call dpkg with, so that dpkg says the package isn't installed (which it isn't for the requested architecture). Closes: 770898
* add chronic-like testsuccess/testfailure helpersDavid Kalnischkies2013-08-121-4/+2
| | | | | | | | | | 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
* run integration tests on my new amd64 box without failuresDavid Kalnischkies2011-10-111-4/+4
|
* * apt-pkg/depcache.cc:David Kalnischkies2011-04-161-0/+38
- really include 'rc' packages in the delete count by fixing a typo which exists since 1999 in the source… (LP: #761175)