selftests: timers: clocksource-switch: adapt to kselftest framework
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 13 Jul 2022 20:46:21 +0000 (22:46 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 14 Jul 2022 20:36:52 +0000 (14:36 -0600)
commitce7d101750ff8450af16d6e1f6ccba10d44ae9f3
tree48e237ab74d8c08a8bf9f26446f7aedec3b5ab18
parent248ae6f49a257bcbc57513ebc58e5ed7fa47e7fe
selftests: timers: clocksource-switch: adapt to kselftest framework

So we have proper counters at the end of a test. We also print the
kselftest header at the end of the test, so we don't mix with the output
of the child process. There is only this one test anyhow.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/timers/clocksource-switch.c