criu/test
Andrei Vagin 11adfc3422 zdtm: check pre-dump of shared memory
[root@fc24 criu]# python test/zdtm.py run -t zdtm/transition/shmem  --pre 3
=== Run 1/1 ================

======================== Run zdtm/transition/shmem in h ========================
cc -g -O2 -Wall -Werror -fno-strict-aliasing  -iquote ../lib/arch/x86/include -I../lib   shmem.c ../lib/libzdtmtst.a ../lib/libzdtmtst.a -o shmem
Start test
./shmem --pidfile=shmem.pid --outfile=shmem.out
Run criu pre-dump
Run criu pre-dump
Run criu pre-dump
Run criu dump
Run criu restore
Send the 15 signal to  33
Wait for zdtm/transition/shmem(33) to die for 0.100000
Test output: ================================
15:12:25.444:    33: FAIL: shmem.c:70: checksum mismatch: ea71000 109c9000

Cc: Eugene Batalov <eabatalov89@gmail.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-10-13 15:51:08 +03:00
..
inhfd test: check restoring external fifo-s 2016-02-17 13:50:46 +03:00
jenkins zdtm: check "criu dedup" 2016-09-26 15:42:40 +03:00
others test/other: check criu exec 2016-08-01 16:51:33 +03:00
zdtm zdtm: check pre-dump of shared memory 2016-10-13 15:51:08 +03:00
.gitignore gitignore: add zdtm_mount_cgroups.lock 2016-02-26 14:58:08 +03:00
abrt.sh travis: catch core dump files in error cases 2016-09-06 19:31:20 +03:00
check_actions.py test: Check action scripts to work as we expect 2016-05-06 14:39:25 +03:00
crit-recode.py test/crit-recode: skip images with zero size 2016-06-28 13:12:26 +03:00
criu.py zdtm.py: Add minimal support for CRIU RPC testing 2016-09-06 19:31:21 +03:00
groups.desc zdtm.py: Generator of groups of tests 2015-12-08 14:54:41 +03:00
inhfd.desc zdtm.py: Add inhfd tests for --inherit-fd option 2015-10-19 12:42:01 +03:00
Makefile test/Makefile: rm bad code 2016-10-10 12:48:20 +03:00
rpc_pb2.py python lib: rename rpc.py to rpc_pb2.py 2016-10-10 12:49:28 +03:00
show_action.sh test: Check action scripts to work as we expect 2016-05-06 14:39:25 +03:00
umount2.c zdtm: add a program to umount a test root 2016-09-26 15:42:40 +03:00
zdtm.desc test: Get rid of live directory 2016-02-20 13:40:52 +03:00
zdtm.py zdtm: add a program to umount a test root 2016-09-26 15:42:40 +03:00
zdtm_ct.c test: don't do MS_REC|MS_PRIVATE for host mounts 2016-09-06 19:31:20 +03:00
zdtm_mount_cgroups tests: prevent zdtm_mount_cgroups from failing w/ EBUSY 2016-02-03 16:25:28 +03:00