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:00:59 +0000 (12:00 +0100)
commit139fce2992ee88528714a56aaee7c45dd1ec7f7a
tree5a78f89e7deef7d217eba89fc6fbfb18d2036e99
parent204a2390da42759da2b5bc42c40878609f3c329b
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