diff options
author | Shuah Khan (Samsung OSG) | 2018-05-04 22:26:10 +0200 |
---|---|---|
committer | Shuah Khan (Samsung OSG) | 2018-05-30 23:29:06 +0200 |
commit | e6ee6ae4a170335d685571f38510505dd62cc6a4 (patch) | |
tree | b36dc2e7b58228e2acecbcf2fe204144db579e39 /tools/testing/selftests/net/fib_tests.sh | |
parent | selftests: memory-hotplug: return Kselftest Skip code for skipped tests (diff) | |
download | kernel-qcow2-linux-e6ee6ae4a170335d685571f38510505dd62cc6a4.tar.gz kernel-qcow2-linux-e6ee6ae4a170335d685571f38510505dd62cc6a4.tar.xz kernel-qcow2-linux-e6ee6ae4a170335d685571f38510505dd62cc6a4.zip |
selftests: mqueue: return Kselftest Skip code for skipped tests
When mqueue 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.
Change it to use ksft_exit_skip() when the test is skipped.
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/fib_tests.sh')
0 files changed, 0 insertions, 0 deletions