criu/test/zdtm/lib
Pavel Emelyanov 0b0f40ecf8 zdtm.py: The groups_test class for running groups
So here's the new test class that handles the test from
groups set. The class is inherited from zdtm_test one as
what it does is -- starts the pseudo-init in ns/uns flavors
and asks one to spawn() the sub-tests from the list.

All groups tests can only be run inside ns flavor, so if
the host flavor is asked, just the pseudo-init is spawned.
This is because using ns flavor is the easiest way to spawn
all the sub tests under this init (however, h flavor can be
supported by marking the pseudo-init as sub-reaper).

On stop this pseudo-init is signalled to stop, it in turn
stops all the sub-tests and then exits. When the pid
namespace destruction is complete, the sub-tests .out-s are
checked.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-12-08 14:54:52 +03:00
..
arch test/zdtm: Adding ppc64 support 2015-07-13 14:52:26 +03:00
cpuid.h zdtm: Add cpuid.h 2012-12-21 17:35:44 +04:00
datagen.c zdtm: make datagen/datachk faster for big chunks 2013-03-06 00:34:02 +04:00
fs.c zdtm: Add filesystem specific helpers 2015-09-04 19:35:59 +03:00
fs.h zdtm: Fix building for @_BSD_SOURCE redefinition 2015-09-04 22:01:00 +03:00
groups.c zdtm.py: The groups_test class for running groups 2015-12-08 14:54:52 +03:00
groups.desc zdtm.py: The groups_test class for running groups 2015-12-08 14:54:52 +03:00
lock.c zdtm: replace err() on pr_perror() 2015-10-21 14:54:53 +03:00
lock.h zdtm/lock: add futex_add_and_wake and futex_wait_while_lt 2014-02-28 13:18:43 +04:00
Makefile zdtm.py: The groups_test class for running groups 2015-12-08 14:54:52 +03:00
msg.c test_msg(): avoid recursion 2015-10-26 12:12:54 +03:00
ns.c zdtm: Remove unneeded re-exec 2015-12-08 14:53:19 +03:00
ns.h zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
parseargs.c zdtm: close an external tty 2012-09-13 16:09:13 +04:00
parseargs.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
stop_and_chk.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
streamutil.c zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
tcp.c zdtm: sanitize pr_perror() usage 2015-10-26 12:13:16 +03:00
test.c zdtm: Remove unneeded re-exec 2015-12-08 14:53:19 +03:00
zdtmtst.h zdtm: Remove test_init_ns() 2015-12-03 14:56:19 +03:00