mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
This reverts commit 37ea8c5fcfef2108800b6d53054f3a7c4f710752. Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
23 lines
855 B
Bash
Executable File
23 lines
855 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Check lazy-pages
|
|
set -e
|
|
source `dirname $0`/criu-lib.sh
|
|
prep
|
|
|
|
source `dirname $0`/criu-lazy-common.sh
|
|
|
|
# These tests seem to require complete separation of dump and restore namespaces
|
|
LAZY_MIGRATE_EXCLUDE="-x fifo_loop -x file_locks -x ptrace_sig -x overmount_file -x file_lease -x cr_veth -x fifo -x overmount_sock -x unlink_largefile -x socket_udp-corked -x netns_sub_veth"
|
|
|
|
# lazy restore from images
|
|
./test/zdtm.py run --all --keep-going --report report --parallel 4 -f uns \
|
|
--lazy-migrate $LAZY_EXCLUDE $LAZY_MIGRATE_EXCLUDE || fail
|
|
|
|
# During pre-dump + lazy-pages we leave VM_NOHUGEPAGE set
|
|
LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps02"
|
|
|
|
# lazy restore from images with pre-dumps
|
|
./test/zdtm.py run --all --keep-going --report report --parallel 4 -f uns \
|
|
--lazy-migrate --pre 2 $LAZY_EXCLUDE $LAZY_MIGRATE_EXCLUDE || fail
|