rpm-ostree/tests/vmcheck
Jonathan Lebon 0b1c5eda17 override remove: allow inactive removals
The property of removal overrides dropping out if the package was
removed from the base layer felt a bit too magical and hacky. We really
should remember that wish and re-apply it if the pkg comes back. This is
similar to package layering: requests can become inactive (seems like a
better word than "dormant") if the package is already part of the base
layer, but they don't really go away.

This patch reworks the logic so that removal overrides work the same
way. In the status output, we now have both "RemovedBasePackages" and
"InactiveBaseRemovals" (which is only printed in verbose mode),
similarly to how we have "LayeredPackages" and "InactiveRequests". And
similarly, we also print out in the upgrader during a transaction all
the inactive base removals.

Another cool thing is that we now allow any pattern to be specified at
the CLI. E.g. `ex override remove /usr/bin/strace` will resolve to
strace.

Closes: #836
Approved by: cgwalters
2017-06-20 21:24:05 +00:00
..
fetch-journal.sh vmcheck: prep for parallel runs 2017-03-13 00:42:13 +00:00
multitest.py vmcheck: Don't throw if test.sh fails early 2017-03-22 15:35:46 +00:00
overlay.sh vmoverlay: overlay on default checksum, not booted 2017-06-13 13:25:24 +00:00
sync.sh tests: Use G_DEBUG=fatal-warnings for daemon 2017-06-09 20:42:44 +00:00
test-basic.sh override remove: allow inactive removals 2017-06-20 21:24:05 +00:00
test-initramfs.sh test-initramfs.sh: fix for centos 2017-02-21 14:13:42 +00:00
test-layering-basic.sh core: fix error message construction 2017-06-19 15:19:59 +00:00
test-layering-gpg.sh core: Do GPG verification before importing 2017-03-06 15:19:43 +00:00
test-layering-local.sh core: allow no enabled repos for local pkgs 2017-05-19 16:08:18 +00:00
test-layering-non-root-caps.sh core: Also apply mode overrides to symlinks 2017-03-21 21:35:37 +00:00
test-layering-relayer.sh vmcheck: add tests for unified txn support 2017-03-31 14:58:38 +00:00
test-layering-rpmdb.sh vmcheck: adjust for new behaviour 2017-02-27 19:53:19 +00:00
test-layering-scripts.sh scripts: Unlink our temporary post scripts 2017-06-08 15:55:57 +00:00
test-layering-unified.sh vmcheck: add tests for unified txn support 2017-03-31 14:58:38 +00:00
test-livefs.sh livefs: Fix etc merge with subdirectories 2017-05-23 20:34:47 +00:00
test-override-remove.sh override remove: allow inactive removals 2017-06-20 21:24:05 +00:00
test.sh vmcheck: also clear repo metadata between tests 2017-06-19 15:19:59 +00:00