[LTP] [PATCH] syscalls/clock_adjtime: Fix unsupported WARN

Li Wang liwan@redhat.com
Mon Jun 24 04:56:02 CEST 2019


On Fri, Jun 21, 2019 at 5:51 PM Ping Fang <pifang@redhat.com> wrote:

> When clock_adjtime is not implemented, cleanup will
> still try this call, then enter tst_cvres WARN handler.
>
> tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
> ../../../../include/tst_safe_clocks.h:57: CONF: syscall(-1)
> __NR_clock_adjtime not supported
> ../../../../include/tst_safe_clocks.h:57: CONF: syscall(-1)
> __NR_clock_adjtime not supported
> ../../../../include/tst_safe_clocks.h:60: WARN: clock_adjtime02.c:211
> clock_adjtime() failed -1: ENOSYS
>
> Summary:
> passed   0
> failed   0
> skipped  1
> warnings 1
>
> Signed-off-by: Ping Fang <pifang@redhat.com>
>

Reviewed-by: Li Wang <liwang@redhat.com>
-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20190624/4e6e3ba5/attachment.html>


More information about the ltp mailing list