summaryrefslogtreecommitdiff
path: root/test/interactive-helper/testkeep.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix keeping back removals of obsolete packagesJulian Andres Klode2024-11-111-0/+57
ResolveByKeepInternal() inadvertently considered packages that were marked for removals as not being possible to keep back, but that's not true, all they need is to have a currently installed version. The test case is a bit awkward to construct because our upgrade code doesn't get into a place where this happens that we know off. Or maybe it does with phased upgrades, but here we simplify this by using a helper binary that dumps state, marks for removal, and then calls ResolveByKeep and checks the removal is undone. LP: #2078720