-
Pavel Emelyanov authored
This is inspired by two problems we have with cgroup* tests. 1. Tests cannot easily clean after themselves -- one cannot remove a cg dir with tasks in it and the root task of a test is in a cgroup it tries to remove. 2. After dump old cgroup dirs are remained after the test, while criu should restore them (this is what we write tests for). The proposal is to introduce per-test hooks, for now two of them: --pre-restore and --clean. For cgroup tests both hooks will remove the created directories. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
cf8b7c8f
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
app-emu | ||
bers | ||
ext-links | ||
fault-injection | ||
jenkins | ||
libcriu | ||
mem-snap | ||
mounts | ||
rpc | ||
security | ||
tcp | ||
unix-callback | ||
zdtm | ||
.gitignore | ||
Makefile | ||
app-emu.sh | ||
env.sh | ||
functions.sh | ||
maps.py | ||
post-dump.sh | ||
zdtm.sh |