summaryrefslogtreecommitdiff
path: root/test/integration/test-kernel-helper-autoremove
Commit message (Collapse)AuthorAgeFilesLines
* fix apt-config test now that PATH changed in 8c617819David Kalnischkies2014-05-081-1/+1
| | | | Git-Dch: Ignore
* only consider versioned kernel packages in autoremoveDavid Kalnischkies2014-03-211-0/+1
| | | | | | | | | | | | Metapackages like "linux-image-amd64" are otherwise matched by our extraction as well, which later on can't be successfully compared via dpkg --compare-versions as the 'amd64' bit isn't a version number. (Luckily none of our architectures starts with a digit.) This was broken by me in 0.9.16 as I moved a shell-glob matcher to a regex-based one which has slightly different semantics regarding '*'. Closes: 741962
* ensure that a dot is a dot in the hookDavid Kalnischkies2014-03-131-9/+17
| | | | | | As we deal with regex matchers here the dots are treated as wildcards if we don't take care of escaping them. Not very likely that this could be a real-world problem, but just to be sure.
* support kfreebsd and hurd in the kernel hookDavid Kalnischkies2014-03-131-10/+34
| | | | | | kfreebsd as well as hurd kernel packages call the postinst script as well so we just need to enable the correct parsing for installed packages and disable the "protect every version" hammer for them.
* use a configurable list of versioned kernel packagesDavid Kalnischkies2014-03-131-39/+52
| | | | | | With APT::VersionedKernelPackages users have the option of adding packages like pre-build out-of-tree modules to the list of automatically protected from being autoremoved.
* fix the test-kernel-helper-autoremove testcaseMichael Vogt2014-02-141-6/+6
|
* Additional test for the case when installed version != newest versionSteve Langasek2014-02-141-2/+15
|
* Make the test more verbose and check for the negative case of a kernel thatSteve Langasek2014-02-141-4/+11
| | | | should not be marked not-for-autoremoval
* typo fixSteve Langasek2014-02-141-1/+1
|
* also check that the running kernel is keptMichael Vogt2014-02-141-1/+3
|
* add testcase for the autoremove featureMichael Vogt2014-02-141-0/+33
Conflicts: debian/apt.auto-removal.sh