selftests: fuxex: Report a unique test name per run of futex_requeue_pi
authorMark Brown <broonie@kernel.org>
Tue, 13 Feb 2024 19:06:02 +0000 (19:06 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 19 Feb 2024 22:00:51 +0000 (15:00 -0700)
commitf17d8a87ecb557bc6c9770751c3f0aaf10edbb98
tree518b3705a23949fe8912eab98785a2722cc50b1c
parent345e8abe4c355bc24bab3f4a5634122e55be8665
selftests: fuxex: Report a unique test name per run of futex_requeue_pi

The futex_requeue_pi test program is run a number of times with different
options to provide multiple test cases. Currently every time it runs it
reports the result with a consistent string, meaning that automated systems
parsing the TAP output from a test run have difficulty in distinguishing
which test is which.

The parameters used for the test are already logged as part of the test
output, let's use the same format to roll them into the test name that we
use with KTAP so that automated systems can follow the results of the
individual cases that get run.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/futex/functional/futex_requeue_pi.c