# Check auto-deduplication of pagemaps
set -e
source `dirname $0`/criu-lib.sh
prep
./test/zdtm.py run --all --report report --parallel 4 -f h --pre 2 --dedup -x maps04 -x maps007 || fail

# Additionally run these two as they touch a lot of
# memory and it makes sense to additionally check it
# with delays petween iterations
./test/zdtm.py run -t zdtm/live/transition/maps007 --report report -f h --pre 8:.1 --dedup || fail
./test/zdtm.py run -t zdtm/live/static/mem-touch   --report report -f h --pre 8:.1 --dedup || fail
