34b5a004a8
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 |
||
---|---|---|
.. | ||
jsonutil.c | ||
postprocess.c | ||
test-basic.sh | ||
test-ucontainer.sh | ||
test-utils.c |