Skip to content

Commit

Permalink
CI: add on-demand test
Browse files Browse the repository at this point in the history
Add a new test to check the `on-demand` option in CI

Signed-off-by: Yuhan Yang <yangfisher1@sjtu.edu.cn>
  • Loading branch information
Yangfisher1 committed Jan 27, 2022
1 parent 09afdf4 commit 162f615
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/ci/run-ci-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ fi
# shellcheck disable=SC2086
./test/zdtm.py run -a -p 2 --keep-going $ZDTM_OPTS

# --on-demand test
./test/zdtm.py run -a --on-demand -p 2 --keep-going $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
Expand Down

0 comments on commit 162f615

Please sign in to comment.