]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selftests: breakpoint_test: use ksft_* var arg msg api
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 29 Jun 2017 21:19:47 +0000 (15:19 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 30 Jun 2017 22:15:58 +0000 (16:15 -0600)
commit4ca562878b907e34fdb652c3a8cb631fd5efe706
treea87e77aee2c3e7ec431bf753c2a6a6eeffd3c1f3
parentab52a484455007b3c9c11e18f6d0eed6d8f2de4e
selftests: breakpoint_test: use ksft_* var arg msg api

Use ksft_* var arg msg to include strerror() info. in test output. Change
output from child process to use ksft_print_msg() instead of ksft_exit_*
to avoid double counting tests and ensure parent does the incrementing
test counters. Also includes unused variable cleanup.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/breakpoints/breakpoint_test.c