summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/mlock2-tests.c
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG) <shuah@kernel.org>2018-06-14 16:56:13 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 13:08:58 +0200
commit3a9907ebf83b379b15a44a2597066868d1c958e1 (patch)
treebe9504ae750aa327038be1dc6643d53fcdf6f4ff /tools/testing/selftests/vm/mlock2-tests.c
parent41325fa657b96b4c33fee8c7c63e00175fab538a (diff)
selftests: zram: return Kselftest Skip code for skipped tests
[ Upstream commit 685814466bf8398192cf855415a0bb2cefc1930e ] When zram 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. 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/mlock2-tests.c')
0 files changed, 0 insertions, 0 deletions