selftests: exec: Use new ksft_exit_fail_perror() helper
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 4 Apr 2024 16:14:33 +0000 (21:14 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 May 2024 19:57:19 +0000 (13:57 -0600)
commit9c84b890b8f60c4dfb69f4ba206949db72fd2416
tree3a53953def04421daf35065a0c153a3534efd645
parent86483f8b4e8d3eb364bfa9049b46fea3578af050
selftests: exec: Use new ksft_exit_fail_perror() helper

Use ksft_exit_fail_perror() to print the value of errno and its string
form. This is the first user of the ksft_exit_fail_perror() and proves
the usefulness of this API.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/exec/recursion-depth.c