summaryrefslogtreecommitdiff
path: root/test/integration/test-disappearing-packages
Commit message (Collapse)AuthorAgeFilesLines
* Fix hidden test failure if not called via sudoDavid Kalnischkies2018-05-191-1/+1
| | | | | | | | id: '': no such user ./test-bug-611729-mark-as-manual: 59: [: Illegal number: Regression-of: 68842e1741a5005b1e3f0a07deffd737c65e3294 Gbp-Dch: Ignore
* tests: Do not expect requested-by if sudo was invoked by rootJulian Andres Klode2018-05-161-1/+1
| | | | | If sudo was invoked by root, SUDO_UID will be 0, and apt will not print a Requested-By line.
* correct cross & disappear progress detectionDavid Kalnischkies2016-11-231-26/+53
| | | | | | | | | | | | Given that we use the progress information to skip over actions dpkg has already done like not purging a package which was already removed and had no config files or not acting on disappeared packages and such it is important that apt and dpkg agree on which states the package has to pass through. To ensure that we keep tabs on this in the future a warning is added at the end if apt hasn't seen all the action it was supposed to see. I can't wait for the first bugreporters to wonder about this…
* fix tests run via sudo checking the history fileDavid Kalnischkies2016-01-251-1/+12
| | | | Git-Dch: Ignore
* tests: use quiet level 0 by default in testsDavid Kalnischkies2015-11-191-1/+1
| | | | Git-Dch: Ignore
* tests: try to support spaces in TMPDIRDavid Kalnischkies2015-09-141-23/+23
| | | | | | | | Not all tests work yet, most notable the cdrom tests, but those require changes in libapt itself to have a proper fix and what we have fixed so far is good enough progress for now. Git-Dch: Ignore
* use Pkg.FullName() in disappearedPkgs and remove duplicated checkMichael Vogt2013-10-221-1/+1
|
* 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
* merged r1972 from lp:~paolorotolo/apt/fix-for-967393Michael Vogt2012-04-121-1/+1
|
* run integration tests on my new amd64 box without failuresDavid Kalnischkies2011-10-111-7/+7
|
* fix bashism (local outside function) and releasefile creation in testcasesDavid Kalnischkies2011-09-091-4/+4
|
* use apt-mark instead of hand-mangling with the extended_states fileDavid Kalnischkies2011-02-101-2/+2
|
* tests/integration/test-*: remove a bunch of "local" that are used outside ↵Michael Vogt2010-10-131-1/+1
| | | | funtions (bash complains)
* * apt-pkg/deb/dpkgpm.cc:David Kalnischkies2010-08-201-0/+54
- use the InstVer instead of the CurrentVer for the autobit transfer Add also a small testcase to check the handling automatical