summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/userfaultfd.c
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG) <shuah@kernel.org>2018-06-15 01:56:13 +0300
committerShuah Khan (Samsung OSG) <shuah@kernel.org>2018-06-18 18:11:09 +0300
commit685814466bf8398192cf855415a0bb2cefc1930e (patch)
tree31e9547b2ef9809398f18d42ac129333a6e352a2 /tools/testing/selftests/vm/userfaultfd.c
parentd7d5311d4aa9611fe1a5a851e6f75733237a668a (diff)
downloadlinux-685814466bf8398192cf855415a0bb2cefc1930e.tar.xz
selftests: zram: return Kselftest Skip code for skipped tests
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>
Diffstat (limited to 'tools/testing/selftests/vm/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions