• Pavel Emelyanov's avatar
    zdtm: Introduce per-test hooks · cf8b7c8f
    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: 's avatarPavel Emelyanov <xemul@parallels.com>
    cf8b7c8f
Name
Last commit
Last update
..
app-emu Loading commit data...
bers Loading commit data...
ext-links Loading commit data...
fault-injection Loading commit data...
jenkins Loading commit data...
libcriu Loading commit data...
mem-snap Loading commit data...
mounts Loading commit data...
rpc Loading commit data...
security Loading commit data...
tcp Loading commit data...
unix-callback Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
app-emu.sh Loading commit data...
env.sh Loading commit data...
functions.sh Loading commit data...
maps.py Loading commit data...
post-dump.sh Loading commit data...
zdtm.sh Loading commit data...