rpm-ostree/tests/vmcheck
Colin Walters 34b5a004a8 daemon: Add a sanitycheck(/bin/true) before we deploy a tree
This is a followup to https://github.com/projectatomic/rpm-ostree/pull/888
but more comprehensive; in the layering case, the sanitycheck runs
after all the `%posttrans` scripts, so we'll get a consistent error message
for the `rm -rf /` test.

We also do the sanitycheck for the "pure ostree" case, as well as cases
where we didn't actually layer packages (including `ex override remove` as
well as simply regenerating an initrd).

There's obviously a lot more we could do in a sanitycheck; as I say in the
comment it's tempting to consider trying to boot systemd (in a fully volatile
config), but for now let's do this. In the end of course the admin has rollback
too.

Closes: #892
Approved by: jlebon
2017-07-27 17:58:58 +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 overlay.sh: also overlay /etc to /usr/etc 2017-07-27 17:10:41 +00:00
sync.sh vmcheck/test-basic.sh: adjust for new polkit policy 2017-07-27 17:10:41 +00:00
test-basic.sh vmcheck/test-basic.sh: adjust for new polkit policy 2017-07-27 17:10:41 +00:00
test-initramfs.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-basic.sh build_rpm: print out nevra rather than just name 2017-07-05 14:02:21 +00:00
test-layering-gpg.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-local.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-non-root-caps.sh vmcheck: fixes for CentOS 7 2017-07-18 13:58:38 +00:00
test-layering-relayer.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-rpmdb.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-layering-scripts.sh daemon: Add a sanitycheck(/bin/true) before we deploy a tree 2017-07-27 17:58:58 +00:00
test-layering-unified.sh tests: transition to build_rpm 2017-06-29 16:16:54 +00:00
test-livefs.sh vmcheck: fixes for CentOS 7 2017-07-18 13:58:38 +00:00
test-override-local-replace.sh app: support ex override replace for local RPMs 2017-07-05 20:59:35 +00:00
test-override-remove.sh app: support ex override replace for local RPMs 2017-07-05 20:59:35 +00:00
test.sh vmcheck: handle livefs reruns stronger 2017-07-05 14:02:21 +00:00