criu/test/jenkins/criu-compat-mounts.sh
Pavel Tikhomirov c8121ed746 test/jenkins: test for old mount engine
Let's run zdtm in jenkins with --mntns-compat-mode option and same for
device-external mount test from others.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
2022-04-28 17:53:52 -07:00

15 lines
364 B
Bash
Executable file

#!/bin/bash
# Make one regular C/R cycle with mount-v2 disabled
set -e
source `dirname $0`/criu-lib.sh
prep
FAIL=0
./test/zdtm.py run --all --mntns-compat-mode --keep-going --report report --parallel 4 || FAIL=$?
# Make device-external mounts test
EXTRA_OPTS=--mntns-compat-mode make -C test/others/mnt-ext-dev/ run || FAIL=$?
if [ $FAIL -ne 0 ]; then
fail
fi