diff options
author | Pavel Tikhomirov <ptikhomirov@virtuozzo.com> | 2022-01-14 12:12:12 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2022-04-29 03:53:52 +0300 |
commit | 3db949d821a4a9cd876d9fab25576d234e646ea7 (patch) | |
tree | 4c4fef9500585f5b99af23fb20fec7bda2664dc2 /scripts | |
parent | 8d6e2d04423858fbc003e41a5d0b5e60d68dab36 (diff) |
ci: run tests 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.
Note that if the feature move_mount_set_group is not supported then
regular run will just fallback to old mount engine and then we don't
need separate run with --mntns-compat-mode.
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ci/run-ci-tests.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ci/run-ci-tests.sh b/scripts/ci/run-ci-tests.sh index 5ef3965db..dd7c49d63 100755 --- a/scripts/ci/run-ci-tests.sh +++ b/scripts/ci/run-ci-tests.sh @@ -201,6 +201,10 @@ fi # shellcheck disable=SC2086 ./test/zdtm.py run -a -p 2 --keep-going $ZDTM_OPTS +if criu/criu check --feature move_mount_set_group; then + # shellcheck disable=SC2086 + ./test/zdtm.py run -a -p 2 --mntns-compat-mode --keep-going $ZDTM_OPTS +fi # shellcheck disable=SC2086 ./test/zdtm.py run -a -p 2 --keep-going --criu-config $ZDTM_OPTS |