summaryrefslogtreecommitdiff
path: root/test/integration/test-release-candidate-switching
Commit message (Collapse)AuthorAgeFilesLines
* Give our test packages proper size informationDavid Kalnischkies2021-06-101-0/+16
| | | | | | | | Temporary hacks should be temporary, especially if they hide bugs. After fixing one in the previous commit this is just busy work to add download information to the places which check that output. Gbp-Dch: Ignore
* don't auto-switch candidate if installed is good enoughDavid Kalnischkies2017-12-131-0/+24
| | | | | | | If we perform candidate switching in requests like "apt install foo/bar" we should first check if the dependencies of foo from release bar are already satisfied by what is already installed before checking if the candidate (or switched candidate) would.
* do not strip epochs from state version stringsDavid Kalnischkies2016-03-161-29/+29
| | | | | | | | | | | The epoch stripping in this code is done since day one, but in other places we show a version epochs are not stripped. If epochs are present in packages they tend to be an important information which we can't just drop and especially can't drop "sometimes" as that confuses users and tools alike – so even if removing code in use for (close to) 18 years feels wrong, it is probably the right choice for consistency. Closes: 818162
* 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 quiet level 0 by default in testsDavid Kalnischkies2015-11-191-16/+16
| | | | Git-Dch: Ignore
* Fix the test suite againJulian Andres Klode2015-08-171-15/+15
| | | | Gbp-Dch: ignore
* show or-groups in not-installed recommends and suggests listsDavid Kalnischkies2015-08-101-1/+1
| | | | | | | | Further abstracting our new ShowList allows to use it for containers of strings as well giving us the option to implement an or-groups display for the recommends and suggests lists which is a nice trick given that it also helps with migrating the last remaining other cases of old ShowList.
* test exitcode as well as string equalityDavid Kalnischkies2015-03-161-16/+16
| | | | | | | | 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
* * cmdline/apt-get.cc:David Kalnischkies2011-05-171-1/+1
| | | | - do not discard the error messages from the resolver and instead only show the general 'Broken packages' message if nothing else
* * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-251-15/+15
| | | | | | - return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
* Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-15/+15
| | | | | | | | | Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
* test/integration/: remove a bunch of "local" statements from the ↵Michael Vogt2011-02-151-1/+1
| | | | shellscript, keep tests running even on failure but log failures
* really do not show packages in the extra section if they wereDavid Kalnischkies2010-12-031-16/+0
| | | requested on the commandline, e.g. with a modifier
* * apt-pkg/depcache.cc:David Kalnischkies2010-12-031-0/+435
- add SetCandidateRelease() to set a candidate version and the candidates of dependencies if needed to a specified release (Closes: #572709) - change pkg/release behavior to use the new SetCandidateRelease so installing packages from experimental or backports is easier