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)
commitdae1d8ac31896988e7313384c0370176a75e9b45
tree4946907f99845acbf386d959df8896a62bd7bd2b
parentac9e0a250bb155078601a5b999aab05f2a04d1ab
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