2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00

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>
This commit is contained in:
Pavel Tikhomirov 2022-01-31 11:02:36 +03:00 committed by Andrei Vagin
parent 3c0e99ccfa
commit c8121ed746

View File

@ -0,0 +1,15 @@
#!/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