diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-04 17:12:29 -0600 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-16 17:45:00 -0600 |
commit | b274e75c20f91c2d8fec43f8246282c2817f8e7c (patch) | |
tree | 734bb4d4652bffbbe9f9a6f6e6a200b668add2de /tools/testing/selftests/futex/functional/futex_wait_wouldblock.c | |
parent | 3c1f619eea08cc31057c437a1c064e33c73ebe35 (diff) | |
download | lwn-b274e75c20f91c2d8fec43f8246282c2817f8e7c.tar.gz lwn-b274e75c20f91c2d8fec43f8246282c2817f8e7c.zip |
selftests: futex: convert test to use ksft TAP13 framework
Convert test to use ksft TAP13 framework to print user friendly
test output which is consistent across kselftest suite.
Acked-by: Darren Hart (VMware) <dvhart@infradead.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/futex/functional/futex_wait_wouldblock.c')
-rw-r--r-- | tools/testing/selftests/futex/functional/futex_wait_wouldblock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/futex_wait_wouldblock.c b/tools/testing/selftests/futex/functional/futex_wait_wouldblock.c index 9a2c56fa7305..da15a63269b4 100644 --- a/tools/testing/selftests/futex/functional/futex_wait_wouldblock.c +++ b/tools/testing/selftests/futex/functional/futex_wait_wouldblock.c @@ -64,7 +64,8 @@ int main(int argc, char *argv[]) } } - printf("%s: Test the unexpected futex value in FUTEX_WAIT\n", + ksft_print_header(); + ksft_print_msg("%s: Test the unexpected futex value in FUTEX_WAIT\n", basename(argv[0])); info("Calling futex_wait on f1: %u @ %p with val=%u\n", f1, &f1, f1+1); |