On 5/21/20 1:52 AM, Andrei Vagin wrote:
This can happen if a testing node doesn't have RTC (real time clock) hardware or it doesn't support alarms.
Fixes: 61c57676035d ("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
v2: fix timer.c and timerfd.c too. v3: add Reported-by and Fixes tags.
tools/testing/selftests/timens/clock_nanosleep.c | 2 +- tools/testing/selftests/timens/timens.c | 2 +- tools/testing/selftests/timens/timens.h | 13 ++++++++++++- tools/testing/selftests/timens/timer.c | 5 +++++ tools/testing/selftests/timens/timerfd.c | 5 +++++ 5 files changed, 24 insertions(+), 3 deletions(-)
Applied to linux-kselftest next for Linux 5.8-rc1
thanks, -- Shuah