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 |
||
---|---|---|
.. | ||
fetch-journal.sh | ||
multitest.py | ||
overlay.sh | ||
sync.sh | ||
test-basic.sh | ||
test-initramfs.sh | ||
test-layering-basic.sh | ||
test-layering-gpg.sh | ||
test-layering-local.sh | ||
test-layering-non-root-caps.sh | ||
test-layering-relayer.sh | ||
test-layering-rpmdb.sh | ||
test-layering-scripts.sh | ||
test-layering-unified.sh | ||
test-livefs.sh | ||
test-override-local-replace.sh | ||
test-override-remove.sh | ||
test.sh |