]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/timens: handle a case when alarm clocks are not supported
authorAndrei Vagin <avagin@gmail.com>
Thu, 21 May 2020 07:52:52 +0000 (00:52 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 22 May 2020 19:29:55 +0000 (13:29 -0600)
commit944a4a2d39a79c8474a6a17d3f1957098e6d1491
treea027e46534ad7b0c4aff3beee6533ed257ae3217
parente522a69a0dee1bff8bfdd1841be542f435d7bf44
selftests/timens: handle a case when alarm clocks are not supported

This can happen if a testing node doesn't have RTC (real time clock)
hardware or it doesn't support alarms.

Fixes: e7cc3eb84dcf ("selftests/timens: Add Time Namespace test for supported clocks")
Acked-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reported-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/timens/clock_nanosleep.c
tools/testing/selftests/timens/timens.c
tools/testing/selftests/timens/timens.h
tools/testing/selftests/timens/timer.c
tools/testing/selftests/timens/timerfd.c