Skip to content
Unverified Commit 366617a6 authored by Jeff Xu's avatar Jeff Xu Committed by Mickaël Salaün
Browse files

selftests/landlock: Skip overlayfs tests when not supported



overlayfs may be disabled in the kernel configuration, causing related
tests to fail.  Check that overlayfs is supported at runtime, so we can
skip layout2_overlay.* accordingly.

Signed-off-by: default avatarJeff Xu <jeffxu@google.com>
Reviewed-by: default avatarGuenter Roeck <groeck@chromium.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230113053229.1281774-2-jeffxu@google.com


[mic: Reword comments and constify variables]
Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
parent 3e52e5b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment