mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +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:
parent
3c0e99ccfa
commit
c8121ed746
15
test/jenkins/criu-compat-mounts.sh
Executable file
15
test/jenkins/criu-compat-mounts.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user