diff options
author | Shuah Khan (Samsung OSG) | 2018-06-12 18:11:37 -0600 |
---|---|---|
committer | Shuah Khan (Samsung OSG) | 2018-06-18 09:11:09 -0600 |
commit | c7db6ffb831fd36a03485a0d88b1e505378975ad (patch) | |
tree | 3e22feabc50e213230923aeec69725b7879074ca /fs/ubifs | |
parent | 8781578087b8fb8829558bac96c3c24e5ba26f82 (diff) |
selftests: sysctl: return Kselftest Skip code for skipped tests
When sysctl test is skipped because of unmet dependencies and/or
unsupported configuration, it exits with error which is treated as
a fail by the Kselftest framework. This leads to false negative result
even when the test could not be run.
Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.
Changed return code to kselftest skip code in skip error legs that check
requirements and module probe test error leg.
Kselftest framework SKIP code is 4 and the framework prints appropriate
messages to indicate that the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions