2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00
criu/test/jenkins/criu-lazy-pages.sh

20 lines
518 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# Check lazy-pages
set -e
source `dirname $0`/criu-lib.sh
prep
source `dirname $0`/criu-lazy-common.sh
# lazy restore from images
./test/zdtm.py run --all --keep-going --report report --parallel 4 \
--lazy-pages $LAZY_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 \
--lazy-pages --pre 2 $LAZY_EXCLUDE || fail