ci: run criu-config tests

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2021-08-15 11:29:22 +01:00 committed by Andrei Vagin
parent 1c54c45fc5
commit a8dd7d2909
2 changed files with 8 additions and 0 deletions

View file

@ -202,6 +202,9 @@ fi
# shellcheck disable=SC2086
./test/zdtm.py run -a -p 2 --keep-going $ZDTM_OPTS
# shellcheck disable=SC2086
./test/zdtm.py run -a -p 2 --keep-going --criu-config $ZDTM_OPTS
# Newer kernels are blocking access to userfaultfd:
# uffd: Set unprivileged_userfaultfd sysctl knob to 1 if kernel faults must be handled without obtaining CAP_SYS_PTRACE capability
if [ -e /proc/sys/vm/unprivileged_userfaultfd ]; then

View file

@ -5,6 +5,7 @@ export ZDTM_ARGS
all:
$(MAKE) zdtm
$(MAKE) zdtm-config
$(MAKE) zdtm-pre-dump
$(MAKE) zdtm-snapshot
$(MAKE) zdtm-iter
@ -23,6 +24,10 @@ zdtm:
./zdtm.py run -a --parallel 2
.PHONY: zdtm
zdtm-config:
./zdtm.py run -a --parallel 2 --criu-config
.PHONY: zdtm-config
zdtm-pre-dump:
./zdtm.py run --pre 2:1 -t zdtm/transition/fork -f uns
.PHONY: zdtm-pre-dump