criu/test
Pavel Emelyanov cf8b7c8f5c zdtm: Introduce per-test hooks
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>
2014-08-12 22:31:57 +04:00
..
app-emu test/*Makefile: add/append PHONY targets 2014-01-11 09:12:35 +04:00
bers test: bers -- Initial commit 2014-03-18 11:57:12 +04:00
ext-links test/ext-links: fix path to the ip tool 2014-06-24 22:50:17 +04:00
fault-injection test: check, that parasite can rollback itself (v2) 2013-08-06 15:11:12 +04:00
jenkins jenkins/btrfs: exclude inotify_irmap 2014-07-08 19:18:39 +04:00
libcriu test: Test how criu_dump_iters from library works 2014-06-27 14:29:56 +04:00
mem-snap test/meme-snap: remove an nonexistent target 2014-07-02 12:13:11 +04:00
mounts test: add mounts/ext in the "other" list 2014-07-03 19:21:20 +04:00
rpc make: test: rpc: don't forget to delete rpc_pb2.pyc 2014-08-06 09:36:00 +04:00
security test: security 2014-08-06 10:20:30 +04:00
tcp test: add a target to execute non-zdtm tests 2014-06-24 22:50:43 +04:00
unix-callback test: add a target to execute non-zdtm tests 2014-06-24 22:50:43 +04:00
zdtm zdtm: Introduce per-test hooks 2014-08-12 22:31:57 +04:00
.gitignore git: add /dev to test/.gitignore 2014-06-24 22:44:42 +04:00
app-emu.sh test: add a script for executing all app-emu test cases 2012-11-22 19:08:29 +04:00
env.sh test: create env.sh for environment setting 2013-08-20 14:52:34 +04:00
functions.sh test/app-emu: wait while tasks are dying before starting restore 2012-11-22 19:08:14 +04:00
Makefile zdtm: add ability to execute non-namespacess tests concurrently 2014-08-12 14:42:34 +04:00
maps.py zdtm: check that a process has the same set of VMS-s after restore 2013-09-23 15:23:12 +04:00
post-dump.sh zdtm: the post-dump scripts returns zero, if action is not post-dump 2013-07-24 19:10:49 +04:00
zdtm.sh zdtm: Introduce per-test hooks 2014-08-12 22:31:57 +04:00