diff options
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-04 21:49:47 +0200 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-05-30 23:29:06 +0200 |
commit | e1890c502ca7f0bb13a7372dc8945f5e06832346 (patch) | |
tree | 3b264ea2c93f99a0241b7a83d7260523c889e1bc /tools/testing/selftests/mqueue | |
parent | selftests: memfd: return Kselftest Skip code for skipped tests (diff) | |
download | linux-e1890c502ca7f0bb13a7372dc8945f5e06832346.tar.xz linux-e1890c502ca7f0bb13a7372dc8945f5e06832346.zip |
selftests: memory-hotplug: return Kselftest Skip code for skipped tests
When memory-hotplug test is skipped because of unmet dependencies and/or
unsupported configuration, it returns non-zero value hich 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.
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>
Diffstat (limited to 'tools/testing/selftests/mqueue')
0 files changed, 0 insertions, 0 deletions