lkml.org 
[lkml]   [2020]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] selftests/timens: handle a case when alarm clocks are not supported
From
Date
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

\
 
 \ /
  Last update: 2020-05-22 21:33    [W:0.037 / U:2.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site