Commit 40f56d5d authored by Eugene Batalov's avatar Eugene Batalov Committed by Pavel Emelyanov

test: add test for anon shmem dedup

Main test features:
- Non trivial ps tree with non trivial anon shmem regions
  (no such test exists now).
- Each ps tree process continuously writes parts of anon shmem
  vmas and validates these writes after restore
  (required for dedup testing).
- Checking simultaneous changing of anon shmem contents in different
  processes.
Signed-off-by: 's avatarEugene Batalov <eabatalov89@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent eadf47c6
......@@ -4,8 +4,9 @@ source `dirname $0`/criu-lib.sh
prep
./test/zdtm.py run --all --keep-going --report report --parallel 4 -f h --pre 2 --dedup -x maps04 -x maps007 || fail
# Additionally run these two as they touch a lot of
# Additionally run these tests as they touch a lot of
# memory and it makes sense to additionally check it
# with delays petween iterations
# with delays between iterations
./test/zdtm.py run -t zdtm/transition/maps007 --keep-going --report report -f h --pre 8:.1 --dedup || fail
./test/zdtm.py run -t zdtm/static/mem-touch --keep-going --report report -f h --pre 8:.1 --dedup || fail
./test/zdtm.py run -t zdtm/transition/maps008 --keep-going --report report -f h --pre 8:.1 --dedup || fail
......@@ -15,6 +15,7 @@ TST_NOFILE = \
fork2 \
thread-bomb \
maps007 \
maps008 \
pipe_loop00 \
pipe_shared00 \
socket_loop00 \
......
This diff is collapsed.
{'flavor': 'h', 'flags': 'suid'}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment