diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-04 19:12:29 -0400 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-16 19:45:00 -0400 |
commit | b274e75c20f91c2d8fec43f8246282c2817f8e7c (patch) | |
tree | 734bb4d4652bffbbe9f9a6f6e6a200b668add2de /tools/testing/selftests/futex/functional/futex_requeue_pi.c | |
parent | 3c1f619eea08cc31057c437a1c064e33c73ebe35 (diff) |
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_requeue_pi.c')
-rw-r--r-- | tools/testing/selftests/futex/functional/futex_requeue_pi.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/testing/selftests/futex/functional/futex_requeue_pi.c b/tools/testing/selftests/futex/functional/futex_requeue_pi.c index d24ab7421e73..54cd5c414e82 100644 --- a/tools/testing/selftests/futex/functional/futex_requeue_pi.c +++ b/tools/testing/selftests/futex/functional/futex_requeue_pi.c | |||
@@ -394,9 +394,11 @@ int main(int argc, char *argv[]) | |||
394 | } | 394 | } |
395 | } | 395 | } |
396 | 396 | ||
397 | printf("%s: Test requeue functionality\n", basename(argv[0])); | 397 | ksft_print_header(); |
398 | printf("\tArguments: broadcast=%d locked=%d owner=%d timeout=%ldns\n", | 398 | ksft_print_msg("%s: Test requeue functionality\n", basename(argv[0])); |
399 | broadcast, locked, owner, timeout_ns); | 399 | ksft_print_msg( |
400 | "\tArguments: broadcast=%d locked=%d owner=%d timeout=%ldns\n", | ||
401 | broadcast, locked, owner, timeout_ns); | ||
400 | 402 | ||
401 | /* | 403 | /* |
402 | * FIXME: unit_test is obsolete now that we parse options and the | 404 | * FIXME: unit_test is obsolete now that we parse options and the |