]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: skip mincore.check_file_mmap when fs lacks needed support
authorCristian Marussi <cristian.marussi@arm.com>
Wed, 26 Jan 2022 10:27:19 +0000 (10:27 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 27 Jan 2022 23:40:45 +0000 (16:40 -0700)
commitf72361ce64a59cdcea6315cdf66ccffbc7c855fc
tree4946907f99845acbf386d959df8896a62bd7bd2b
parent282fe186a24c171d610539a6997d9ae36abb7ed0
selftests: skip mincore.check_file_mmap when fs lacks needed support

Report mincore.check_file_mmap as SKIP instead of FAIL if the underlying
filesystem lacks support of O_TMPFILE or fallocate since such failures
are not really related to mincore functionality.

Cc: Ricardo CaƱuelo <ricardo.canuelo@collabora.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/mincore/mincore_selftest.c