ci: make others/mnt_ext_dev also run for old mount engine

Now when we switched to mount-v2 by default to check old mount engine we
need to explicitly run with --mntns-compat-mode option.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov 2022-01-14 19:29:08 +03:00 committed by Andrei Vagin
parent 642abd133e
commit 3c0e99ccfa
2 changed files with 4 additions and 1 deletions

View file

@ -237,6 +237,9 @@ bash -x ./test/jenkins/criu-inhfd.sh
if [ -z "$SKIP_EXT_DEV_TEST" ]; then
make -C test/others/mnt-ext-dev/ run
if criu/criu check --feature move_mount_set_group; then
EXTRA_OPTS=--mntns-compat-mode make -C test/others/mnt-ext-dev/ run
fi
fi
make -C test/others/make/ run CC="$CC"

View file

@ -11,7 +11,7 @@ dev=`losetup --find --show zdtm.loop`
mkdir -p ../../dev
cp -ap $dev ../../dev
export ZDTM_MNT_EXT_DEV=$dev
python ../../zdtm.py run -t zdtm/static/mnt_ext_dev || ret=$?
python ../../zdtm.py run $EXTRA_OPTS -t zdtm/static/mnt_ext_dev || ret=$?
losetup -d $dev
unlink zdtm.loop
exit $ret