diff options
author | Luis Chamberlain <[email protected]> | 2019-05-14 15:45:07 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-05-14 19:52:51 -0700 |
commit | a0edef79685c508fde517e6defac23b3ba60c422 (patch) | |
tree | 3cd06d3baf9d18d4d1a3e872166c52b350201bfd /drivers/usb/cdns3/cdns3-debug.h | |
parent | 8ded3d1026b26240eaa285b98b7942d27f657355 (diff) |
tools/testing/selftests/sysctl/sysctl.sh: allow graceful use on older kernels
On old kernels older new test knobs implemented on the test_sysctl
module may not be available. This is expected, and the selftests test
scripts should be able to run without failures on older kernels.
Generalize a solution so that we test for each required test target file
for each test by requiring each test description to annotate their
respective test target file. If the target file does not exist, we skip
the test gracefully.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Luis Chamberlain <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Eric Sandeen <[email protected]>
Cc: Eric Sandeen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions