diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-05-31 20:40:15 +1000 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-06-07 10:07:21 -0600 |
commit | 4996976fcde4bb738ce68ca01a8b358d71aab7bb (patch) | |
tree | 0525d3181decf3b433210f119efb446e824e6d57 /MAINTAINERS | |
parent | selftests/vm: Fix test for virtual address range mapping for arm64 (diff) | |
download | wireguard-linux-4996976fcde4bb738ce68ca01a8b358d71aab7bb.tar.xz wireguard-linux-4996976fcde4bb738ce68ca01a8b358d71aab7bb.zip |
selftests: sync: Skip the test if kernel support is not found
The "Sync framework" test doesn't work if the kernel has no support,
obviously. Rather than reporting a failure, check for the kernel support
by looking for /sys/kernel/debug/sync/sw_sync, and if not found skip the
test.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions