OpenCloudOS-Kernel/tools/testing/selftests/exec
Shuah Khan (Samsung OSG) 964224d7a8 selftests: exec: return Kselftest Skip code for skipped tests
When execveat 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 kernel doesn't support execveat.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-05-30 15:21:52 -06:00
..
.gitignore syscalls: add selftest for execveat(2) 2014-12-13 12:42:51 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
execveat.c selftests: exec: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00