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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Feb 2022 11:03:05 +0000 (12:03 +0100)
commitbced176da6e03c7b7f087d524293dedc7b351ae1
tree72131ba3260d57b09b6dad8598d5ba984482509b
parent7d10b671a05233e68a412469b4e26203978bd346
selftests: skip mincore.check_file_mmap when fs lacks needed support

[ Upstream commit dae1d8ac31896988e7313384c0370176a75e9b45 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/mincore/mincore_selftest.c