2020-04-18 22:28:24 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-09-14 07:52:05 -07:00
|
|
|
# Check remote-lazy-pages
|
|
|
|
set -e
|
|
|
|
source `dirname $0`/criu-lib.sh
|
|
|
|
prep
|
|
|
|
|
2018-10-02 15:20:30 +03:00
|
|
|
source `dirname $0`/criu-lazy-common.sh
|
2017-09-14 07:52:05 -07:00
|
|
|
|
|
|
|
# lazy restore from "remote" dump
|
|
|
|
./test/zdtm.py run --all --keep-going --report report --parallel 4 \
|
|
|
|
--remote-lazy-pages $LAZY_EXCLUDE -x maps04 || fail
|
|
|
|
|
|
|
|
# During pre-dump + lazy-pages we leave VM_NOHUGEPAGE set
|
2022-05-08 16:19:45 +07:00
|
|
|
LAZY_EXCLUDE="$LAZY_EXCLUDE -x maps02"
|
2017-09-14 07:52:05 -07:00
|
|
|
|
|
|
|
# lazy restore from "remote" dump with pre-dumps
|
|
|
|
./test/zdtm.py run --all --keep-going --report report --parallel 4 \
|
|
|
|
--remote-lazy-pages --pre 2 $LAZY_EXCLUDE || fail
|