summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2017-08-04 17:12:29 -0600
committerShuah Khan <shuahkh@osg.samsung.com>2017-08-16 17:45:00 -0600
commitb274e75c20f91c2d8fec43f8246282c2817f8e7c (patch)
tree734bb4d4652bffbbe9f9a6f6e6a200b668add2de /tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c
parent3c1f619eea08cc31057c437a1c064e33c73ebe35 (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_mismatched_ops.c')
-rw-r--r--tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c b/tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c
index e0a798ad0d21..08187a16507f 100644
--- a/tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c
+++ b/tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c
@@ -78,7 +78,8 @@ int main(int argc, char *argv[])
}
}
- printf("%s: Detect mismatched requeue_pi operations\n",
+ ksft_print_header();
+ ksft_print_msg("%s: Detect mismatched requeue_pi operations\n",
basename(argv[0]));
if (pthread_create(&child, NULL, blocking_child, NULL)) {