selftests: timers: improve timer_create failure message
authorGianfranco Trad <gianf.trad@gmail.com>
Thu, 29 Aug 2024 15:37:25 +0000 (17:37 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 14 Oct 2024 22:15:12 +0000 (16:15 -0600)
commitd70d4218339e657e80ea478e43ec327cf374826b
tree6a7161dbce06199f2d0420b1d0b1e6c5286611a2
parent80fa614e2fbcf11069f0995e1601fb2e5702e2f4
selftests: timers: improve timer_create failure message

improve timer_create failure message with strerror() function
to give more information to the user.

Signed-off-by: Gianfranco Trad <gianf.trad@gmail.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/timers/alarmtimer-suspend.c