Two guard_regions tests on userfaultfd fail when userfaultfd is not
present. Skip them instead.

hugevm test reads kernel config to get page table level information and
fails when neither /proc/config.gz nor /boot/config-* is present. Skip
it instead.

Zi Yan (2):
  selftests/mm: skip guard_regions.uffd tests when uffd is not present.
  selftests/mm: skip hugevm test if kernel config file is not present.

 tools/testing/selftests/mm/guard-regions.c    | 17 ++++++++++--
 .../selftests/mm/va_high_addr_switch.sh       | 26 +++++++------------
 2 files changed, 24 insertions(+), 19 deletions(-)

-- 
2.47.2


Reply via email to