# Check pre-dump

source `dirname $0`/criu-lib.sh &&
prep &&
mkdir -p test/dump &&
mount -t tmpfs dump test/dump &&
make -C test -j 4 'ZDTM_ARGS=-P -i 3 -C' zdtm &&
make -C test -j 4 'ZDTM_ARGS=-p -P -i 3 -C' zdtm && # + page server
true || fail

# Check 3 pre-dump-s before dump (with and w/o page server)
set -e
source `dirname $0`/criu-lib.sh
prep
mount_tmpfs_to_dump
./test/zdtm.py run --all --report report --parallel 4 --pre 3 -x 'maps04' || fail
./test/zdtm.py run --all --report report --parallel 4 --pre 3 --page-server -x 'maps04' || fail

Move pre-dump test on .py launcher
jenkins: Move pre-dump test on .py launcher

Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>
