]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: mm: skip whole test instead of failure
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Fri, 3 Nov 2023 18:23:41 +0000 (23:23 +0500)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 15 Nov 2023 23:30:08 +0000 (15:30 -0800)
commit019b277b680f5b95135c042c78dd79318d8f9e3c
tree9b89f1fcc79ad97ece691b34020ef4326a7aa543
parent85c2ceaafbd306814a3a4740bf4d95ac26a8b36a
selftests: mm: skip whole test instead of failure

Some architectures don't support userfaultfd.  Skip running the whole test
on them instead of registering the failure.

Link: https://lkml.kernel.org/r/20231103182343.2874015-1-usama.anjum@collabora.com
Fixes: 46fd75d4a3c9 ("selftests: mm: add pagemap ioctl tests")
Reported-by: Ryan Roberts <ryan.roberts@arm.com>
Closes: https://lore.kernel.org/all/f8463381-2697-49e9-9460-9dc73452830d@arm.com
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/pagemap_ioctl.c