summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/threadtest.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-09-28 17:38:12 +0300
committerShuah Khan <skhan@linuxfoundation.org>2023-10-05 23:50:03 +0300
commit47903c1d153d5178d54ea086e2bfa5298506f04f (patch)
tree476ddd1bd93155b53c31910c0a9a11ee8b68fd26 /tools/testing/selftests/timers/threadtest.c
parent907f33028871fa7c9a3db1efd467b78ef82cce20 (diff)
downloadlinux-47903c1d153d5178d54ea086e2bfa5298506f04f.tar.xz
selftests/exec: Convert execveat test to generate KTAP output
Currently the execveat test does not produce KTAP output but rather a custom format. This means that we only get a pass/fail for the suite, not for each individual test that the suite does. Convert to using the standard kselftest output functions which result in KTAP output being generated. The main trick with this is that, being an exec() related test, the program executes itself and returns specific exit codes to verify success meaning that we need to only use the top level kselftest header/summary functions when invoked directly rather than when run as part of a test. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/timers/threadtest.c')
0 files changed, 0 insertions, 0 deletions