mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
test: Make the sysext test to run with --root and without
I was bitten several times by testing things only with --root flag, so this commit prepares the existing test cases to run on / too. This required the test cases to clean up after themselves, thus I have put each test case in a separate subshell and used traps to do the cleanups. I needed to change the hierarchy used by the test extension to /opt, because unmounting /usr often failed with EBUSY.
This commit is contained in:
parent
d3577fb7ba
commit
d74d69ae53